# Increasing the search.max\_buckets makes kibana stuck

**URL:** <https://discuss.elastic.co/t/increasing-the-search-max-buckets-makes-kibana-stuck/217192>\
**Category:** Elasticsearch\
**Created:** [January 30, 2020, 1:08pm UTC](https://discuss.elastic.co/t/increasing-the-search-max-buckets-makes-kibana-stuck/217192 "2020-01-30T13:08:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Voula\_Mikr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/voula_mikr/32/58451_2.png) [@Voula\_Mikr](https://discuss.elastic.co/u/Voula_Mikr)\
**Post date:** [January 30, 2020, 1:08pm UTC](https://discuss.elastic.co/t/increasing-the-search-max-buckets-makes-kibana-stuck/217192/1 "2020-01-30T13:08:35Z")

</div>

I am trying to make an histogram with 3 sub-bucket but I get "Request to Elasticsearch failed:" with error :  
"Trying to create too many buckets.  
Must be less than or equal to: [10000] but was [10001]. This limit can be set by changing the [search.max\_buckets] cluster level setting."

I increased the search.max\_buckets so I din't get the error, kibana stuck.  
Are there other setting I have to configure more?  
How can I calculate the buckets my search returns?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 27, 2020, 1:08pm UTC](https://discuss.elastic.co/t/increasing-the-search-max-buckets-makes-kibana-stuck/217192/2 "2020-02-27T13:08:41Z")

</div>

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