{
  "index_patterns": [ "logstash-*" ],
  "version": 123,
  "settings": {
    "index": {
      "refresh_interval": "5s",
      "analysis": {
        "analyzer": {
          "default": {
            "type": "standard",
            "stopwords": "_none_"
          }
        }
      }
    }
  },
  "mappings": {
    "_default_": {
      "dynamic_templates": [
        {
          "string_fields": {
            "match": "*",
            "match_mapping_type": "string",
            "mapping": {
              "type": "multi_field",
              "fields": {
                "{name}": {
                  "type": "text",
                  "index": "analyzed",
                  "omit_norms": true
                },
                "raw": {
                  "type ": "text",
                  "index": "not_analyzed",
                  "ignore_above": 256
                }
              }
            }
          }
        }
      ],
      "properties": {
        "@version": {
          "type": "text",
          "index": false
        },
        "geoip": {
          "type": "object",
          "dynamic": true,
          "properties": {
            "location": {
              "type": "geo_point"
            }
          }
        }
      }
    }
  }
}

{
  "index_patterns": [ "logstash-*" ],
  "version": 123,
  "settings": {
    "index": {
      "refresh_interval": "5s",
      "analysis": {
        "analyzer": {
          "default": {
            "type": "standard",
            "stopwords": "_none_"
          }
        }
      }
    }
  },
  "mappings": {
    "_doc": {
      "dynamic_templates": [
        {
          "string_fields": {
            "match": "*",
            "match_mapping_type": "string",
            "mapping": {
              "type": "multi_field",
              "fields": {
                "{name}": {
                  "type": "text",
                  "index": "analyzed",
                  "omit_norms": true
                },
                "raw": {
                  "type ": "text",
                  "index": "not_analyzed",
                  "ignore_above": 256
                }
              }
            }
          }
        }
      ],
      "properties": {
        "@version": {
          "type": "text",
          "index": false
        },
        "geoip": {
          "type": "object",
          "dynamic": true,
          "properties": {
            "location": {
              "type": "geo_point"
            }
          }
        }
      }
    }
  }
}

Remove _default_ mapping for type deprecations
Remove _default_ mapping for type deprecations
