# ElasticSearch 8: is there a "conf.d" folder to change settings without editing elasticsearch.yml?

**URL:** <https://discuss.elastic.co/t/elasticsearch-8-is-there-a-conf-d-folder-to-change-settings-without-editing-elasticsearch-yml/320076>\
**Category:** Elasticsearch\
**Created:** [November 29, 2022, 5:19pm UTC](https://discuss.elastic.co/t/elasticsearch-8-is-there-a-conf-d-folder-to-change-settings-without-editing-elasticsearch-yml/320076 "2022-11-29T17:19:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZaneCEO](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zaneceo/32/25645_2.png) [@ZaneCEO](https://discuss.elastic.co/u/ZaneCEO)\
**Post date:** [November 29, 2022, 5:19pm UTC](https://discuss.elastic.co/t/elasticsearch-8-is-there-a-conf-d-folder-to-change-settings-without-editing-elasticsearch-yml/320076/1 "2022-11-29T17:19:52Z")

</div>

I'd like to edit a few Elasticsearch 8 settings (for example: `network.host`), but I don't want to edit `/etc/elasticsearch/elasticsearch.yml` directly. What I'd like to do is to **add my settings to my own file** and put it in an hypothetical `/etc/elasticsearch/conf.d` folder, do be included automatically.

This approach is widespread with multiple other software I use (Nginx, Apache, MySQL, PHP just to name a few).

Elasticsearch already does what i need with `/etc/elasticsearch/jvm.options.d`, but that folder is just for the the JVM options, not for ES own settings.

What am I missing here?

---

<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:** [November 30, 2022, 12:52am UTC](https://discuss.elastic.co/t/elasticsearch-8-is-there-a-conf-d-folder-to-change-settings-without-editing-elasticsearch-yml/320076/2 "2022-11-30T00:52:10Z")

</div>

There's not, no.

You could raise a feature request for this sort of functionality though!

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [November 30, 2022, 1:43am UTC](https://discuss.elastic.co/t/elasticsearch-8-is-there-a-conf-d-folder-to-change-settings-without-editing-elasticsearch-yml/320076/3 "2022-11-30T01:43:37Z")

</div>

Also many cluster settings are dynamic meaning they can be set while the cluster is running via the API only static settings need to be put in the elasticsearch.yml

---

<div class="post-metadata">

**Author:** ![ZaneCEO](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zaneceo/32/25645_2.png) [@ZaneCEO](https://discuss.elastic.co/u/ZaneCEO)\
**Post date:** [December 2, 2022, 11:07am UTC](https://discuss.elastic.co/t/elasticsearch-8-is-there-a-conf-d-folder-to-change-settings-without-editing-elasticsearch-yml/320076/4 "2022-12-02T11:07:43Z")

</div>

OK, thanks for letting me know! I'd gladly raise a feature request: where can I add it?

---

<div class="post-metadata">

**Author:** ![ZaneCEO](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zaneceo/32/25645_2.png) [@ZaneCEO](https://discuss.elastic.co/u/ZaneCEO)\
**Post date:** [December 2, 2022, 11:08am UTC](https://discuss.elastic.co/t/elasticsearch-8-is-there-a-conf-d-folder-to-change-settings-without-editing-elasticsearch-yml/320076/5 "2022-12-02T11:08:47Z")

</div>

I saw the dynamic option, thanks, but due to ops needs, I'd still prefer to use a file.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [December 2, 2022, 3:36pm UTC](https://discuss.elastic.co/t/elasticsearch-8-is-there-a-conf-d-folder-to-change-settings-without-editing-elasticsearch-yml/320076/6 "2022-12-02T15:36:44Z")

</div>

This is the correct repo file as a feature request under issues.

> **[GitHub - elastic/elasticsearch: Free and Open, Distributed, RESTful Search...](https://github.com/elastic/elasticsearch)**
>
> Free and Open, Distributed, RESTful Search Engine. Contribute to elastic/elasticsearch development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![ZaneCEO](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zaneceo/32/25645_2.png) [@ZaneCEO](https://discuss.elastic.co/u/ZaneCEO)\
**Post date:** [December 3, 2022, 7:15am UTC](https://discuss.elastic.co/t/elasticsearch-8-is-there-a-conf-d-folder-to-change-settings-without-editing-elasticsearch-yml/320076/7 "2022-12-03T07:15:10Z")

</div>

[Feature request created](https://github.com/elastic/elasticsearch/issues/92075), 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:** [December 31, 2022, 7:15am UTC](https://discuss.elastic.co/t/elasticsearch-8-is-there-a-conf-d-folder-to-change-settings-without-editing-elasticsearch-yml/320076/8 "2022-12-31T07:15:43Z")

</div>

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