I have a Json object in the following format. I cannot aggregate or search for the data inside the position loop: i.e x,y &z cannot be searched in kibana. Could you please help with the indexing/mapping issue?
sample_data.first_floor {
"id": "-1",
"address": "801"
"position": {
"x": 0,
"y": 0,
"z",
"id": "-1"
},
}