I have a template like:
{
"index_patterns": ["events-*"],
"mappings": {
"properties": {
"id": {
"type": "keyword"
},
"topic": {
"type": "keyword"
},
"name": {
"type": "keyword"
},
"timestamp": {
"type": "date",
"format": "epoch_millis"
},
"data" :{
"type": "object",
"enabled" : false
}
}
}
}
And I can confirm my mapping for the index matches the template:
"events-000005" : {
"mappings" : {
"properties" : {
"data" : {
"type" : "object",
"enabled" : false
},
"id" : {
"type" : "keyword"
},
"name" : {
"type" : "keyword"
},
"timestamp" : {
"type" : "date",
"format" : "epoch_millis"
},
"topic" : {
"type" : "keyword"
}
}
}
}
I was expecting kibana to completely ignore the "data" field, that can be a huge nested json, but it keeps showing me every single property from the object on the available list and if i open the document I can't see the the single property "data", it's expanding and showing each property individually.
the fields are not available on the index pattern, tried to refresh few times, it's like it's not really being indexed, but kibana insists in parsing that field somehow and expanding every single property.
Should I have being mapping it differently to prevent kibana expanding that field?