Grouping and displaying of results?

(Tarunsapra) #1

Hi ,

Is it possible to group and display results in Kibana?

For example - I am generating a Bar chart of Top 10 destinations, now I want to group these 10 destinations into 3 groups - Most popular, popular and seasonal destinations. What would be the best approach to achieve this in Kibana ?

(Tanya Bragin) #2

Do you have a field to indicate "most popular", "popular", and "seasonal" destinations? If so, you can add a Terms sub-aggregation on that field -- see example with different data:

(Tarunsapra) #3

Hi @tbragin - The example you shared is of sub-aggregation, but I am not looking for sub-aggregation instead I want to group together the first aggregation so that there are 3 Bars in total instead of each Bar being split into 3 diff. values.

(Tanya Bragin) #4

You can accomplish that by using "grouped" in visualization options.

(Nicholasblexrud) #5

@tbragin, how do you specify how many terms you want in each group? Thanks

(system) #6