grouma
grouma

Reputation: 626

ElasticSearch Histogram and Kibana with start and end time

All of my ElasticSearch documents have a StartTime and an EndTime. I would like to build a histogram that has the count of documents for a given time bucket e.g. 30 minutes such that all documents have StartTime < BucketEndTime and EndTime > BucketStartTime. How would I construct such a search query? How can I show the results in Kibana?

Upvotes: 3

Views: 719

Answers (1)

Limit
Limit

Reputation: 458

This is not possible for Kibana 4.0.2 (current latest version). The reason being here you want to aggregate based on calculation over multiple fields (StartTime & EndTime) and that is not supported by Kibana right now.

Upvotes: 1

Related Questions