Visualization Sort

This seems like a very simple thing but I'm stumped.

I have a simple Kibana visualization with a count and an average and I can't get it to sort by the average. I am aware of the arrows at the tops of the columns which should allow me to sort by any column. However, the arrows only work to sort the average column highest to lowest - when they work at all. I've tried rebuilding the visualization as well as recreating it, with no luck. I've also tried removing the count and still can't sort by the average.

This is my second time asking this question, any help would be appreciated!

It's not the most intuitive thing ever, but you can accomplish this.

Under "buckets", you should see an option under your bucket aggregation for "Order By". By default, it will be whatever your first metric is (in your case, "metric: Count"). However, you should be able to select the other metrics you have configured, or even order by a custom metric.

I hope this helps!

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