# How to get a specific cluster setting?

**URL:** <https://discuss.elastic.co/t/how-to-get-a-specific-cluster-setting/269081>\
**Category:** Elasticsearch\
**Created:** [April 2, 2021, 4:05am UTC](https://discuss.elastic.co/t/how-to-get-a-specific-cluster-setting/269081 "2021-04-02T04:05:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![smlbiobot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smlbiobot/32/29622_2.png) [@smlbiobot](https://discuss.elastic.co/u/smlbiobot)\
**Post date:** [April 2, 2021, 4:05am UTC](https://discuss.elastic.co/t/how-to-get-a-specific-cluster-setting/269081/1 "2021-04-02T04:05:50Z")

</div>

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

```auto
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?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 2, 2021, 6:28am UTC](https://discuss.elastic.co/t/how-to-get-a-specific-cluster-setting/269081/2 "2021-04-02T06:28:19Z")

</div>

See [Cluster get settings API | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-get-settings.html#cluster-get-settings-api-query-params)

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

---

<div class="post-metadata">

**Author:** ![smlbiobot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smlbiobot/32/29622_2.png) [@smlbiobot](https://discuss.elastic.co/u/smlbiobot)\
**Post date:** [April 2, 2021, 6:40am UTC](https://discuss.elastic.co/t/how-to-get-a-specific-cluster-setting/269081/3 "2021-04-02T06:40:27Z")

</div>

Awesome — thanks!

---

<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:** [April 30, 2021, 6:40am UTC](https://discuss.elastic.co/t/how-to-get-a-specific-cluster-setting/269081/4 "2021-04-30T06:40:49Z")

</div>

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