I have created a pie chart and split the slices using filter aggregation. There are over 5 filters but I want to display only the top 5 values in the pie chart.
I can do this if I use the terms as the aggregation. But it doesn't work in my case since there are multiple keywords i want to count as one slice