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!