# Filebeat.yml and logstash.conf are not getting loaded automatically

**URL:** <https://discuss.elastic.co/t/filebeat-yml-and-logstash-conf-are-not-getting-loaded-automatically/319573>\
**Category:** Logstash\
**Created:** [November 22, 2022, 4:36pm UTC](https://discuss.elastic.co/t/filebeat-yml-and-logstash-conf-are-not-getting-loaded-automatically/319573 "2022-11-22T16:36:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manjiri](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@Manjiri](https://discuss.elastic.co/u/Manjiri)\
**Post date:** [November 22, 2022, 4:36pm UTC](https://discuss.elastic.co/t/filebeat-yml-and-logstash-conf-are-not-getting-loaded-automatically/319573/1 "2022-11-22T16:36:38Z")

</div>

When we starting the filebeat and logstash services through services.msc , filebeat.yml and logstash.conf is not getting loaded automatically. Everytime we need to load 2 files manually through command prompt using below command then only we are getting the very latest logs continuously till we close the command prompt.

1. filebeat.exe -c filebeat.yml -e -d "publish"

2. Logstash.bat -f logstash.conf

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [November 22, 2022, 6:53pm UTC](https://discuss.elastic.co/t/filebeat-yml-and-logstash-conf-are-not-getting-loaded-automatically/319573/2 "2022-11-22T18:53:18Z")

</div>

FB and LS can work as services. If something is not OK, check logs.

---

<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 20, 2022, 6:53pm UTC](https://discuss.elastic.co/t/filebeat-yml-and-logstash-conf-are-not-getting-loaded-automatically/319573/3 "2022-12-20T18:53:26Z")

</div>

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