# Question about automatic config reload

**URL:** <https://discuss.elastic.co/t/question-about-automatic-config-reload/117538>\
**Category:** Logstash\
**Created:** [January 29, 2018, 9:23pm UTC](https://discuss.elastic.co/t/question-about-automatic-config-reload/117538 "2018-01-29T21:23:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [January 29, 2018, 9:23pm UTC](https://discuss.elastic.co/t/question-about-automatic-config-reload/117538/1 "2018-01-29T21:23:09Z")

</div>

Hi,

If I start logstash with -r config, it will reload its configuration.

I know it works well if I change the conf files directly.  
But will it also trigger a reload if I make changes to a referenced grok pattern file or a referenced ruby script file?

Thanks, Andreas

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [January 29, 2018, 10:46pm UTC](https://discuss.elastic.co/t/question-about-automatic-config-reload/117538/2 "2018-01-29T22:46:13Z")

</div>

No, only the file itself. This is a great point however, we should probably make this work. Mind filing an issue to ask for this as an enhancement?

---

<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:** [January 29, 2018, 10:52pm UTC](https://discuss.elastic.co/t/question-about-automatic-config-reload/117538/3 "2018-01-29T22:52:04Z")

</div>

[Reloading the Config File | Logstash Reference [8.11] | Elastic](https://www.elastic.co/guide/en/logstash/current/reloading-config.html) does mention this;

> Changes to grok pattern files are also reloaded, but only when a change in the config file triggers a reload (or the pipeline is restarted).

---

<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:** [February 26, 2018, 10:52pm UTC](https://discuss.elastic.co/t/question-about-automatic-config-reload/117538/4 "2018-02-26T22:52:09Z")

</div>

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