Unable to change 'max_buckets' cluster setting


I'm having an error when I run an especific query:

"caused_by": {
"type": "too_many_buckets_exception",
"reason": "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.",
"max_buckets": 10000

Upon some investigation, I found this topic about how to change this setting but it resulted an error

Request: PUT _cluster/settings
"transient": {
"search.max_buckets": 20000

"Message": "Your request: '/_cluster/settings' payload is not allowed."

Upon further investigation, I found this link that lists all supported operations from Elasticsearch Service: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/aes-supported-es-operations.html#es_version_7_7 (I'm using version 7.7).

I couldn't find 'max_buckets' on the list.

Am I really unable to change this setting?

asked 3 years ago2643 views
2 Answers


Due to the managed nature of AES, this isn't available as a customer modifiable setting.
You can create a support case to get the limit increase and limit increases don't require Premium Support subscription.

Good luck!

answered 3 years ago


Even though the doc says:

Limit increases don't require a premium support subscription.

being on Basic subscription plan I'm not able to open Technical support case. Also, internal OpenSearch cluster setting is not available through Service Quotas, so it is not the place for such a request.

What is the proper way nowadays to set custom value for search.max_buckets OpenSearch setting, when AWS account is on Basic subscription plan?

Regards, Alina

P.S.: Meanwhile I opened technical support request via another account in the organisation, where we have Entreprise subscription plan, but not sure it will work.

answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions