# Logstash config reload not working

**URL:** <https://discuss.elastic.co/t/logstash-config-reload-not-working/369362>\
**Category:** Logstash\
**Created:** [October 24, 2024, 12:58pm UTC](https://discuss.elastic.co/t/logstash-config-reload-not-working/369362 "2024-10-24T12:58:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anusha\_Kusanghi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anusha_kusanghi/32/98109_2.png) [@Anusha\_Kusanghi](https://discuss.elastic.co/u/Anusha_Kusanghi)\
**Post date:** [October 24, 2024, 12:58pm UTC](https://discuss.elastic.co/t/logstash-config-reload-not-working/369362/1 "2024-10-24T12:58:57Z")

</div>

Hi All,

We are having issues in our logstash were the config changes are not getting picked up untill the service is restarted.

Tried the solutins given in:[Reloading the Config File | Logstash Reference [8.15] | Elastic](https://www.elastic.co/guide/en/logstash/current/reloading-config.html)

none of it works

can you please guide us here.

Regards,  
Anusha K

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [October 24, 2024, 1:14pm UTC](https://discuss.elastic.co/t/logstash-config-reload-not-working/369362/2 "2024-10-24T13:14:01Z")

</div>

Hello,

How are you running logstash? As a service?

Please share your `logstash.yml` file.

---

<div class="post-metadata">

**Author:** ![Anusha\_Kusanghi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anusha_kusanghi/32/98109_2.png) [@Anusha\_Kusanghi](https://discuss.elastic.co/u/Anusha_Kusanghi)\
**Post date:** [October 24, 2024, 1:21pm UTC](https://discuss.elastic.co/t/logstash-config-reload-not-working/369362/3 "2024-10-24T13:21:04Z")

</div>

```auto
path.data: /var/lib/logstash
xpack.monitoring.elasticsearch.hosts: ["outhostlist"]
xpack.monitoring.elasticsearch.username: "test"
xpack.monitoring.elasticsearch.password: "test"
xpack.monitoring.elasticsearch.ssl.certificate_authority: "/etc/logstash/certs/CA-ADMIN.pem"
xpack.monitoring.enabled: true
pipeline.workers: 2
config.reload.automatic: true
config.reload.interval: 3s
pipeline.ecs_compatibility: disabled

path.logs: /var/log/logstash

```

here it is

we are running as service

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [October 24, 2024, 1:44pm UTC](https://discuss.elastic.co/t/logstash-config-reload-not-working/369362/4 "2024-10-24T13:44:54Z")

</div>

Yeah, this is the correct configuration.

With these:

```auto
config.reload.automatic: true
config.reload.interval: 3s

```

Logstash should reload the configurations when `pipelines.yml` or any pipeline configuration is changed.

What did you change? Are you using persistent queues? Some pipelines may take a long time to reload.

Can you share your logstash logs near the time you made any change? Or maybe do a simple change in one pipeline to get fresh logs.

---

<div class="post-metadata">

**Author:** ![Anusha\_Kusanghi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anusha_kusanghi/32/98109_2.png) [@Anusha\_Kusanghi](https://discuss.elastic.co/u/Anusha_Kusanghi)\
**Post date:** [October 24, 2024, 5:52pm UTC](https://discuss.elastic.co/t/logstash-config-reload-not-working/369362/5 "2024-10-24T17:52:24Z")

</div>

Yes we are using persistant queues

any changes in the logstash config files not getting picked unless restart

not any relevant logs in logstash logs

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [October 24, 2024, 6:09pm UTC](https://discuss.elastic.co/t/logstash-config-reload-not-working/369362/6 "2024-10-24T18:09:52Z")

</div>

> [@Anusha\_Kusanghi](#):
>
> not any relevant logs in logstash logs

Please share the logs you got after you made any change.

There is no error in the configuration, so it should work, without the logs is not possible to know what may be happening.
