Getting search.max_buckets Warning message in deprecation.log file

while creating term aggregation in kibana , getting below error in elasticsearch deprecation.log file

[2018-06-06T17:40:58,684][WARN ][o.e.d.s.a.MultiBucketConsumerService] This aggregation creates too many buckets (10001) and will throw an error in future versions. You should update the [search.max_buckets] cluster setting or use the [composite] aggregation to paginate all buckets in multiple requests.

How to update the search.max_buckets via cluster setting API

See https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-update-settings.html

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