# How to verify that yml settings were indeed loaded

**URL:** <https://discuss.elastic.co/t/how-to-verify-that-yml-settings-were-indeed-loaded/46542>\
**Category:** Elasticsearch\
**Created:** [April 6, 2016, 2:20pm UTC](https://discuss.elastic.co/t/how-to-verify-that-yml-settings-were-indeed-loaded/46542 "2016-04-06T14:20:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![apt275](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@apt275](https://discuss.elastic.co/u/apt275)\
**Post date:** [April 6, 2016, 2:20pm UTC](https://discuss.elastic.co/t/how-to-verify-that-yml-settings-were-indeed-loaded/46542/1 "2016-04-06T14:20:21Z")

</div>

I am running ES 2.3. I am trying to specify some settings in my yaml file as

`indices.fielddata.cache.size:40%`

and i try to

`get /_cluster/settings`

i get no results back. However, if i do

```
PUT /_cluster/settings
{
  "persistent" : {
    "indices.breaker.fielddata.limit" : "40%" 
  }
}

```

and then

`get /_cluster/settings`

i get

```
{
  "persistent": {
    "indices": {
      "breaker": {
        "fielddata": {
          "limit": "40%"
        }
      }
    }
  },
  "transient": {}
}

```

why did the settings not get loaded from the yml file? Especially, since everything else works, i mean i am able to connect to the cluster and do everything else.

Is there a way to check which settings from the yml file were actually loaded?

---

<div class="post-metadata">

**Author:** ![anhlqn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anhlqn/32/5454_2.png) [@anhlqn](https://discuss.elastic.co/u/anhlqn)\
**Post date:** [April 6, 2016, 4:31pm UTC](https://discuss.elastic.co/t/how-to-verify-that-yml-settings-were-indeed-loaded/46542/2 "2016-04-06T16:31:26Z")

</div>

AFAIK, I haven't seen any settings from the yml show up in `GET _cluster/settings`, but I recommend that you manage cluster settings via the `PUT _cluster/settings` because you can dynamically change settings without having to restart ES service.

---

<div class="post-metadata">

**Author:** ![thn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thn/32/8061_2.png) [@thn](https://discuss.elastic.co/u/thn)\
**Post date:** [April 6, 2016, 4:44pm UTC](https://discuss.elastic.co/t/how-to-verify-that-yml-settings-were-indeed-loaded/46542/3 "2016-04-06T16:44:15Z")

</div>

You can try

GET /\_nodes

or

GET /\_nodes/{nodeId}/settings

---

<div class="post-metadata">

**Author:** ![anhlqn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anhlqn/32/5454_2.png) [@anhlqn](https://discuss.elastic.co/u/anhlqn)\
**Post date:** [April 6, 2016, 5:22pm UTC](https://discuss.elastic.co/t/how-to-verify-that-yml-settings-were-indeed-loaded/46542/4 "2016-04-06T17:22:36Z")

</div>

Are we able to change node settings with `PUT \_nodes{nodeId}/settings?

---

<div class="post-metadata">

**Author:** ![thn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thn/32/8061_2.png) [@thn](https://discuss.elastic.co/u/thn)\
**Post date:** [April 6, 2016, 5:46pm UTC](https://discuss.elastic.co/t/how-to-verify-that-yml-settings-were-indeed-loaded/46542/5 "2016-04-06T17:46:42Z")

</div>

It does not look like it.

Here is a list of endpoints that you can view... it might not be up-to-date but you can generate your own using the .sh script also posted at the link below.

> <https://gist.github.com/Mpdreamz/6572344>

---

<div class="post-metadata">

**Author:** ![apt275](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@apt275](https://discuss.elastic.co/u/apt275)\
**Post date:** [April 6, 2016, 7:28pm UTC](https://discuss.elastic.co/t/how-to-verify-that-yml-settings-were-indeed-loaded/46542/6 "2016-04-06T19:28:48Z")

</div>

thanks! that works

---

<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 5, 2017, 11:01pm UTC](https://discuss.elastic.co/t/how-to-verify-that-yml-settings-were-indeed-loaded/46542/7 "2017-07-05T23:01:45Z")

</div>


