I believe this is bug, but maybe it is considered a feature?
Kibana 5.4
I have a Visualization, displaying a Histogram for a Field that represents duration of events. In ElasticSearch, that field is expressed in seconds. For clarity, I convert it to hours, using the JSON input box in the section buckets/X-Axis/Advanced. Like this:
So far so good.
Problem is that, if I zoom in the Histogram, it goes back to seconds. For example, if I select range from 0 to 5 hours, the resulting plot is for 0 to 5 seconds.
Is it a bug or a feature?
If a bug, has it been fixed in later versions of Kibana?
I think the script in that JSON input box is run after the range is set, so the range will be in seconds and the script will convert those seconds in hours. I'd suggest using an actual scripted field that returns the duration in hours and use that as the field that you build the visualization on.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.