Any settings to limit the max number of buckets?

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!

I believe you're looking for search.max_buckets.

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

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