How to increase maximum number of monitors in opensearch managed service on AWS

Versions: 2.5

Describe the issue:
I am unable to increase the max_monitor setting in opensearch on AWS where its a managed service, with the test

PUT _cluster/settings
{
  "persistent": {
    "plugins.alerting.monitor.max_monitor": "10000"
  }
}

which gives the error

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

I’ve also tried with unquoting the "10000", which also gives the same error.

Is there anyway to update this setting?

Configuration:
N/A

Relevant Logs or Screenshots:
N/A

1 Like

Hi,
I guess as OpenSearch is an AWS-managed service, some settings cannot be changed directly by the user. The max_monitor setting is one of those settings that cannot be changed by the user. This is likely the reason why you are getting an error message when trying to update the setting.

Maybe some settings are restricted for security and operational reasons. If you need to change a setting that is not available through the AWS console or API, you may need to contact AWS support to see if the change can be made.

Alternatively, you can consider running your own self-managed OpenSearch cluster where you have more control over the configuration settings.

thank you for the answer!

1 Like