Nested type documents not accessible thorugh kibana


(Phani Nadiminti) #1

Hi All,

I have an index with nested type structure to manage my data please find the following schema in elasticsearch designed.

{
"test1": {
"mappings": {
"test": {
"properties": {
"header": {
"type": "nested",
"properties": {
"action": {
"type": "string",
"index": "not_analyzed"
},
"createddate": {
"type": "date",
"format": "dateOptionalTime"
},
"id": {
"type": "string",
"index": "not_analyzed"
}
}
}
}
}
}
}

Here the date field is the record logged date.Now i want to check how many records per day logged using "createddate" field.

So my query field could be : header.createddate on this field i have to desing a bar chart.but I am unable to access data it is showing following warning.

"This field is present in your elasticsearch mapping but not in any
documents in the search results. You may still be able to visualize or
search on it"

so my doubt is are we able to search nested type documents in kibana to perform some aggregations and other stuff.if yes please suggest me is there any mistake at index structure but i am able to search using sense on date range with nested query.

Thanks,
phani


(Lee Drengenberg) #2

Hi Phani,

I think it's not possible with Kibana. See this issue and see if it answers your case;

Regards,
Lee


(system) #3