Buckets - size and order


(Mike W) #1

How does the size option work inside the buckets? Why do I have to define it if I do not know how many buckets I'll have? I am using this if I want to show 5 top counts, but what should I put in there if I'd like to have a visualisation of all counts for all items?


(Jen Huang) #2

Kibana visualizations work by querying Elasticsearch for aggregations. Aggregations (including buckets) are designed to be minimal by querying for the most relevant information, hence the required size parameter for terms aggregations. Try setting size to a high value like 10000 if you want to see all terms.


(Mike W) #3

that's what I thought...there should be an option for - max


(system) #4

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