Hey guys,
I currently have a JSON for creating a template. There are so many changes in Elasticsearch 6.x so that I am not able to convert my JSON. Can you please help me?
Current JSON:
{
  "template" : "ws*", 
  "settings": { 
    "index.refresh_interval": "1s", "number_of_shards": 5
  },
  "mappings": {
    "_default_": {
      "_all": { "enabled": true, "analyzer": "english"},
      "dynamic_templates": [ {
        "string_fields": {
          "match": "*",
          "match_mapping_type": "string",
          "mapping": {
            "type": "string", "index": "analyzed",
            "fields": {
              "raw": { "type": "string", "index": "not analyzed", "ignore_above": 256}
            }
         }
      }],
    "properties": {
      "@version": { "type": "string, "index": "not_analyzed" },
      "@timestamp": { "type": "date},
      "field": { "type": "integer}
     }
   }
  }
}
I know that _all and the string type are deprecated in the 6.x version. I absolutely need help to convert it. 
Thanks in advance 
 I already read the instruction but I'm struggeling with that.