Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to plot a non-time based histogram in Kibana?

For instance, I record the duration for an event and would like to view a graph with the Y axis as count and the X axis as duration (which is recorded as an integer) so I can see the distribution of how long it takes the event to occur. How can I do this? Kibana seems to expect the X axis to be a time-based value, and won't except plain numbers. Is there a way to get around this I'm missing? Is there some logic behind this limitation that I'm missing?

like image 830
pjcard Avatar asked Aug 20 '14 11:08

pjcard


Video Answer


2 Answers

You can do this as a terms panel with a bar or pie chart. Just make sure you set the count high enough to cover how many values you have.

To bucket them into ranges, you'd need a histogram aggregation or range aggregation which Kibana isn't cable of doing as of 3.1

like image 193
Alcanzar Avatar answered Sep 17 '22 14:09

Alcanzar


Since Kibana 4, there is now an option for non-time based histograms.

like image 33
pjcard Avatar answered Sep 21 '22 14:09

pjcard