I have a multi log type in my system. I want to aggregate this Log and index it into Elasticsearch. my final schema is below.
{
"id": 1,
"name": 2,
"history": [
{
"login": {
"time": "123",
"text": "aaa"
},
"logout": {
"time": "124",
"text": "bbb"
}
},
{
"login": {
"time": "125",
"text": "ccc"
},
"logout": {
"time": "126",
"text": "ddd"
}
}
]
}
When I index this schema to Elsaticsearch search I get below warning in Kibana(Discover tab).
Objects in arrays are not well supported
but I can filter on all fields!
- why this warning show?
- Elasticsearch is not supported object in array?
- What do I do?
- is another way to index this type of schema?