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"
}
}
}