# Once a configuration is changed, is \`sudo service logstash restart\` is enough

**URL:** <https://discuss.elastic.co/t/once-a-configuration-is-changed-is-sudo-service-logstash-restart-is-enough/109588>\
**Category:** Logstash\
**Created:** [November 29, 2017, 12:14pm UTC](https://discuss.elastic.co/t/once-a-configuration-is-changed-is-sudo-service-logstash-restart-is-enough/109588 "2017-11-29T12:14:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kasun\_Siyambalapitiy](https://avatars.discourse-cdn.com/v4/letter/k/a9adbd/32.png) [@Kasun\_Siyambalapitiy](https://discuss.elastic.co/u/Kasun_Siyambalapitiy)\
**Post date:** [November 29, 2017, 12:14pm UTC](https://discuss.elastic.co/t/once-a-configuration-is-changed-is-sudo-service-logstash-restart-is-enough/109588/1 "2017-11-29T12:14:30Z")

</div>

I changed existing configurations under `/opt/logstash/config.d/` and ran a `sudo service logstash restart` but it is not still not publishing data, do I need to run  
`sudo update-rc.d logstash defaults 96 9` to make effect of the changes to the previous configurations.  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 29, 2017, 1:11pm UTC](https://discuss.elastic.co/t/once-a-configuration-is-changed-is-sudo-service-logstash-restart-is-enough/109588/2 "2017-11-29T13:11:07Z")

</div>

> do I need to run  
> sudo update-rc.d logstash defaults 96 9 to make effect of the changes to the previous configurations.

No.

---

<div class="post-metadata">

**Author:** ![Kasun\_Siyambalapitiy](https://avatars.discourse-cdn.com/v4/letter/k/a9adbd/32.png) [@Kasun\_Siyambalapitiy](https://discuss.elastic.co/u/Kasun_Siyambalapitiy)\
**Post date:** [November 29, 2017, 2:13pm UTC](https://discuss.elastic.co/t/once-a-configuration-is-changed-is-sudo-service-logstash-restart-is-enough/109588/3 "2017-11-29T14:13:08Z")

</div>

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 27, 2017, 2:13pm UTC](https://discuss.elastic.co/t/once-a-configuration-is-changed-is-sudo-service-logstash-restart-is-enough/109588/4 "2017-12-27T14:13:31Z")

</div>

Closed on December 27, 2017, 2:13pm UTC

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