I have uploaded the JSON file in elasticsearch and my mapping contains of some nested objects.
The problem is that, in Kibana, in visualize I can not see them
This is my mapping:
"comments": {
"type": "nested",
"properties": {
"count": {
"type": "integer"
},
"data": {
"type":"nested",
"properties": {
"created_time": {
"type": "integer"
}
}
}
}
}
But in kibana when I insert comments.count I cannot see any result, but in Discover page, the comments.count field is exist!
How can I search for this field?
The nested type is a specialised version of the object data type that allows arrays of objects to be indexed in a way that they can be queried independently of each other.
Nested objects are the objects that are inside an another object. In the following example 'vehicles' is a object which is inside a main object called 'person'. Using dot notation the nested objects' property(car) is accessed.
When a packed class contains an instance field that is a packed type, the data for that field is packed directly into the containing class. The field is known as a nested field .
As I found, Kibana can not deal with nested or parent/child
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With