# Got strange problem on logstash: configuration file reset automatically

**URL:** <https://discuss.elastic.co/t/got-strange-problem-on-logstash-configuration-file-reset-automatically/63970>\
**Category:** Logstash\
**Created:** [October 26, 2016, 7:55am UTC](https://discuss.elastic.co/t/got-strange-problem-on-logstash-configuration-file-reset-automatically/63970 "2016-10-26T07:55:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hao\_Zhang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hao_zhang/32/12735_2.png) [@Hao\_Zhang](https://discuss.elastic.co/u/Hao_Zhang)\
**Post date:** [October 26, 2016, 7:55am UTC](https://discuss.elastic.co/t/got-strange-problem-on-logstash-configuration-file-reset-automatically/63970/1 "2016-10-26T07:55:13Z")

</div>

Hi, I am a totally new beginner of ELK. At work I was asked to build a ELK monitoring system on company's servers. Here I got a very strange question. I have three configure files corresponding to input, filter and output in the folder /etc/logstash/conf.d/. The question is all these three configure files will be reset to its default after I restart the service or when I come to the company on next day after one night. But sometimes it does not occur. I am really confused about this. Do you know the possible reasons and have some suggestions?

---

<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:** [October 29, 2016, 7:51pm UTC](https://discuss.elastic.co/t/got-strange-problem-on-logstash-configuration-file-reset-automatically/63970/2 "2016-10-29T19:51:47Z")

</div>

Logstash doesn't modify its own configuration files. You'll have to look elsewhere for the cause.

---

<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:** [July 6, 2017, 4:32am UTC](https://discuss.elastic.co/t/got-strange-problem-on-logstash-configuration-file-reset-automatically/63970/3 "2017-07-06T04:32:05Z")

</div>


