Grouping and displaying of results?

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 ?

1 Like

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:

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.

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

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