# Should all settings in elasticsearch.yml file appear when queried via the rest API?

**URL:** <https://discuss.elastic.co/t/should-all-settings-in-elasticsearch-yml-file-appear-when-queried-via-the-rest-api/23937>\
**Category:** Elasticsearch\
**Created:** [June 18, 2015, 7:29pm UTC](https://discuss.elastic.co/t/should-all-settings-in-elasticsearch-yml-file-appear-when-queried-via-the-rest-api/23937 "2015-06-18T19:29:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Neal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_neal/32/3527_2.png) [@Chris\_Neal](https://discuss.elastic.co/u/Chris_Neal)\
**Post date:** [June 18, 2015, 7:29pm UTC](https://discuss.elastic.co/t/should-all-settings-in-elasticsearch-yml-file-appear-when-queried-via-the-rest-api/23937/1 "2015-06-18T19:29:22Z")

</div>

...because mine do not.

When I bring up my cluster, and query the cluster settings api via Sense:

```
GET /_cluster/settings?v

```

I get

```
{}

```

Then if I update the cluster settings via the API call like:

```
PUT /_cluster/settings?master_timeout=3000000
{
    "persistent" : {
        "cluster.routing.allocation.cluster_concurrent_rebalance" : 6,
        "indices.store.throttle.type" : "none",
        "indices.store.throttle.max_bytes_per_sec" : "50mb"
    }
}

```

Then I only see those settings:

```
{
   "persistent": {
      "indices": {
         "store": {
            "throttle": {
               "type": "none",
               "max_bytes_per_sec": "50mb"
            }
         },
      },
      "cluster": {
         "routing": {
            "allocation": {
               "cluster_concurrent_rebalance": "6",
               "disk": {
                  "watermark": {
                     "low": "98%"
                  }
               }
            }
         }
      }
   },
   "transient": {}
}

```

Is this expected behavior? I was definitely thinking I would see everything in my .yml file reflected in the API query!

Thanks!  
Chris

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 18, 2015, 10:05pm UTC](https://discuss.elastic.co/t/should-all-settings-in-elasticsearch-yml-file-appear-when-queried-via-the-rest-api/23937/2 "2015-06-18T22:05:52Z")

</div>

No, it doesn't show everything.

There's no single place to get all the config options, but I have [FR in](https://github.com/elastic/elasticsearch/issues/10713) for it so hopefully we'll see something 🙂

---

<div class="post-metadata">

**Author:** ![Chris\_Neal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_neal/32/3527_2.png) [@Chris\_Neal](https://discuss.elastic.co/u/Chris_Neal)\
**Post date:** [June 18, 2015, 11:36pm UTC](https://discuss.elastic.co/t/should-all-settings-in-elasticsearch-yml-file-appear-when-queried-via-the-rest-api/23937/3 "2015-06-18T23:36:59Z")

</div>

Thank you sir 😄  
I'll assume that if I put it in the .yml file, it really did get applied! 😉

Chris

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 18, 2015, 11:56pm UTC](https://discuss.elastic.co/t/should-all-settings-in-elasticsearch-yml-file-appear-when-queried-via-the-rest-api/23937/4 "2015-06-18T23:56:33Z")

</div>

It will, yes.

---

<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:** [July 6, 2017, 12:06am UTC](https://discuss.elastic.co/t/should-all-settings-in-elasticsearch-yml-file-appear-when-queried-via-the-rest-api/23937/5 "2017-07-06T00:06:36Z")

</div>


