# ES 2+ Configuration yaml

**URL:** <https://discuss.elastic.co/t/es-2-configuration-yaml/37689>\
**Category:** Elasticsearch\
**Created:** [December 21, 2015, 12:03pm UTC](https://discuss.elastic.co/t/es-2-configuration-yaml/37689 "2015-12-21T12:03:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aliostad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aliostad/32/4046_2.png) [@aliostad](https://discuss.elastic.co/u/aliostad)\
**Post date:** [December 21, 2015, 12:03pm UTC](https://discuss.elastic.co/t/es-2-configuration-yaml/37689/1 "2015-12-21T12:03:11Z")

</div>

I am afraid I was unable to find the answer by looking through the documentation.

The new elasticsearch.yaml is much briefer and it is not clear whether previous entries are supported, such as number\_of\_replicas.

Where can I get documentation on all entries supported in the yaml?

Thanks

---

<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:** [December 21, 2015, 1:28pm UTC](https://discuss.elastic.co/t/es-2-configuration-yaml/37689/2 "2015-12-21T13:28:37Z")

</div>

Have a look at [https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html) for index level settings. Might help.

That said, it's better to set index settings when creating the index (through create index API) instead of doing that in node settings.

---

<div class="post-metadata">

**Author:** ![aliostad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aliostad/32/4046_2.png) [@aliostad](https://discuss.elastic.co/u/aliostad)\
**Post date:** [December 21, 2015, 1:59pm UTC](https://discuss.elastic.co/t/es-2-configuration-yaml/37689/3 "2015-12-21T13:59:14Z")

</div>

Thank you. This is obviously just the default.  
Surprising that the template has been changed, removing many commented defaults, any reason for that?

---

<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:** [December 21, 2015, 2:15pm UTC](https://discuss.elastic.co/t/es-2-configuration-yaml/37689/4 "2015-12-21T14:15:10Z")

</div>

Because in 90% if not 99% of the time, you should not change default settings.  
You should consider them as very advanced settings so you should touch them only if you read the documentation and understand what changing them implies.

---

<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:29pm UTC](https://discuss.elastic.co/t/es-2-configuration-yaml/37689/5 "2017-07-05T23:29:32Z")

</div>


