Bucket sorting

Hi,

I was wondring if a new feature of Elastic 6 could help me.
But before I upgrade everything from 5.2.2 I would like to check it first.

My problem:
I want an aggregation to be sorted based on the sum of all it's sub aggregations.
In the example underneath I would like the top levels to be sorted by the sum of there sub aggregations (the value in pencel).

Is it possible to use Bucket sort aggregation for this?
Or is there an other way to do this?

Kind regards,
Bert

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