How to get a specific cluster setting?

I know that I can get the cluster settings with this:

GET _cluster/settings

What I don’t know is how I can get a specific setting, especially when it‘s at the default and so it doesn’t show up on the GET.

For example, I’d like to change this value: indices.recover.max_bytes_per_sec. It doesn’t currently show up there right now. Is there a way to specify which property I would like to see?

See Cluster get settings API | Elasticsearch Guide [8.11] | Elastic

include_defaults

(Optional, Boolean) If true , returns all default cluster settings. Defaults to false .

1 Like

Awesome — thanks!

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