Kibana DateRange

Hello,

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.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.