Templates in v8 and Beyond

So I've read through the notice about the removal of mapping types, but I can't wrap my head around it or find a straight forward example of how the new templates should look. So, given the below, what does it look like in 8+?

"agent": {
  "properties": {
    "ephemeral_id": {
      "type": "keyword"
    },
    "hostname": {
      "type": "keyword"
    },
    "id": {
      "type": "keyword"
    },
    "name": {
      "type": "keyword"
    },
    "type": {
      "type": "keyword"
    },
    "version": {
      "type": "keyword"
    },
    "ip":{
      "type": "ip"
    }
  }
}

Document types are being removed, not mapping types.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.