Problem ordering data sorted by range at Vertical Bar Visualization

Hello!

I am handling some data that I want to sort by "time of the day - range" so I've created in logstash an auxiliary field "Hora" which extracts the Hour from the timestamp.

Then, in my visualization I've created the Range I want the data sorted by and I've added a sub-bucket with the cities I am also sorting the data by.

The problem is that I don't manage to order the ranges by their logical order (9-11, 11-13...) they're just getting ordered randomly. Any idea about how can I solve this? Could this be a glitch?

I don't have a data set that currently allows me to test this, but until I get one could you try to change to a Histogram aggregation with 2 set as an interval. That should work better than the Range aggregation.

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