# Yaml settings inheritance

**URL:** <https://discuss.elastic.co/t/yaml-settings-inheritance/37605>\
**Category:** Elasticsearch\
**Created:** [December 18, 2015, 10:00pm UTC](https://discuss.elastic.co/t/yaml-settings-inheritance/37605 "2015-12-18T22:00:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ergo14](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ergo14/32/6733_2.png) [@ergo14](https://discuss.elastic.co/u/ergo14)\
**Post date:** [December 18, 2015, 10:00pm UTC](https://discuss.elastic.co/t/yaml-settings-inheritance/37605/1 "2015-12-18T22:00:37Z")

</div>

The way newly created indices inherit default settings is unclear to me:

My elasticsearch.yaml has this setting:

index.translog.durability: async - but index template doesn't have any config options related to translog.

I've updated the setting on all existing indices but I'm wondering if the indices newly created from template will inherit this setting from config or not?

---

<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:** [December 19, 2015, 6:02am UTC](https://discuss.elastic.co/t/yaml-settings-inheritance/37605/2 "2015-12-19T06:02:34Z")

</div>

What version are you on.  
Also, why are you doing this?

---

<div class="post-metadata">

**Author:** ![ergo14](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ergo14/32/6733_2.png) [@ergo14](https://discuss.elastic.co/u/ergo14)\
**Post date:** [December 20, 2015, 12:05am UTC](https://discuss.elastic.co/t/yaml-settings-inheritance/37605/3 "2015-12-20T00:05:35Z")

</div>

Version 2.1.1,

I've set this setting because my index is doing a lot of index/operation, every seconds so it cant fsync on every op.  
My CPU usage + iowait almost tripled on update. So I had to change this back to pre 2.x behavior.

---

<div class="post-metadata">

**Author:** ![Kenny\_Qiao](https://avatars.discourse-cdn.com/v4/letter/k/7ab992/32.png) [@Kenny\_Qiao](https://discuss.elastic.co/u/Kenny_Qiao)\
**Post date:** [January 5, 2016, 4:42am UTC](https://discuss.elastic.co/t/yaml-settings-inheritance/37605/4 "2016-01-05T04:42:12Z")

</div>

Is it possible to set this option in index template?

```
  "index" : {
        "translog.durability" : "async"
      }

```

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:** [July 5, 2017, 11:27pm UTC](https://discuss.elastic.co/t/yaml-settings-inheritance/37605/5 "2017-07-05T23:27:08Z")

</div>


