Get top results when ordering (asc) by term

(Thomas) #1

In a kibana visualization i use a bucket aggregation where i order by term in an ascending order.

In my barchart 50 results are shown (size set to 50). These are the first 50 results of the ascending ordered results.
However, i want the last 50 results in my barchart.

Here an example; the field i am aggregating is a version number:

Ordered results (ascending):
1.1.0, 1.2.0, 2.0.0, 2.1.0

With size=2 i get 1.1.0 and 1.2.0.

How can i get 2.0.0 and 2.1.0 in my chart?
Of course i could change the ordering to descending but then the ordering is wrong in the chart.

I hope my explanation is sufficient.
Any help is much appreciated.


Hi @yahuu,

I'm afraid it's not currently possible, but let's wait, maybe someone else will come up with some smart idea.


(Thomas) #3

Unfortunate. Thanks for your reply anyways :slight_smile:

(system) #4

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