Any settings to limit the max number of buckets?


(Vincent) #1

I have a elasticsearch cluster and kibana dashboard. Kibana is used by external user I don't have control with. They sometimes ran very heavy aggregation query that made elasticsearch ran out of jvm heap space.

So is there a setting I can limit how many buckets to return for aggregation query?

Appreciate your help!


(Steven Collins) #2

I believe you're looking for search.max_buckets.


(Vincent) #3

Ah! Awesome. Thank you. Looks like it's not available in my version (5.2.2). But, it's all good. Another reason to upgrade the cluster ;-p


(system) #4

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