I want to create a bar chart with three date ranges.
0h - 8h
8h - 16h
16h - 24h
The range should bound to the beginning date of the timefilter. But the parameter 'now' calculates only the current date as I can see.
For my purpose I add a second field for my mapping that stores only the time withe the timeformat HH:mm:ss.SSS. But Kibana does not accept the ranges .
@suikast42 you can extract the hour of the day into a Float/Integer and use that Field with the Range aggregation. The Date Range aggregation only works with full DateTimes, not with only hours of the day.
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.