# Auto Reload conf file + Pipelines.yml

**URL:** <https://discuss.elastic.co/t/auto-reload-conf-file-pipelines-yml/248865>\
**Category:** Logstash\
**Created:** [September 16, 2020, 4:57pm UTC](https://discuss.elastic.co/t/auto-reload-conf-file-pipelines-yml/248865 "2020-09-16T16:57:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pankaj\_Jadhav](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pankaj_jadhav/32/65896_2.png) [@Pankaj\_Jadhav](https://discuss.elastic.co/u/Pankaj_Jadhav)\
**Post date:** [September 16, 2020, 4:57pm UTC](https://discuss.elastic.co/t/auto-reload-conf-file-pipelines-yml/248865/1 "2020-09-16T16:57:50Z")

</div>

I am running conf files via pipelines.yml.

- pipeline.id: pipeline19  
config.reload.automatic: true  
config.reload.interval: 3s  
path.config: "/etc/logstash/conf.d/ds-recentsearch.conf"  
queue.type: persisted  
After setting config.reload.automatic: true I've run service logstash restart command. Now when logstash is already running and am making changes inside ds-recentsearch.conf file its not auto reloading. Inside logstash.yml config.reload.automatic: false is set. Can we set config.reload.automatic: true inside pipelines.yml. Because I dont want to set config.reload.automatic: true for all conf files. So I want to set it true from pipelines.yml.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [September 16, 2020, 5:30pm UTC](https://discuss.elastic.co/t/auto-reload-conf-file-pipelines-yml/248865/2 "2020-09-16T17:30:29Z")

</div>

I believe automatic reload is a global setting, not a per-pipeline setting.

---

<div class="post-metadata">

**Author:** ![Pankaj\_Jadhav](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pankaj_jadhav/32/65896_2.png) [@Pankaj\_Jadhav](https://discuss.elastic.co/u/Pankaj_Jadhav)\
**Post date:** [September 17, 2020, 7:53am UTC](https://discuss.elastic.co/t/auto-reload-conf-file-pipelines-yml/248865/3 "2020-09-17T07:53:23Z")

</div>

Thanks @Badger.

One more question. If am using pipelines.yml which contains entries for my conf files. Now I am creating new conf file and same config file entry added in pipelines.yml. So if I've set automatic reload global setting to value true. will new conf file is going to start automatic means any changes inside pipelines.yml will also be automatic reloaded?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [September 17, 2020, 1:56pm UTC](https://discuss.elastic.co/t/auto-reload-conf-file-pipelines-yml/248865/4 "2020-09-17T13:56:42Z")

</div>

I believe so, but you can just try it. logstash will log when it reloads the pipelines.

---

<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:** [October 15, 2020, 1:56pm UTC](https://discuss.elastic.co/t/auto-reload-conf-file-pipelines-yml/248865/5 "2020-10-15T13:56:50Z")

</div>

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