# What happens if I let my beats service run constantly

**URL:** <https://discuss.elastic.co/t/what-happens-if-i-let-my-beats-service-run-constantly/304036>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [May 5, 2022, 1:08pm UTC](https://discuss.elastic.co/t/what-happens-if-i-let-my-beats-service-run-constantly/304036 "2022-05-05T13:08:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![smam](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@smam](https://discuss.elastic.co/u/smam)\
**Post date:** [May 5, 2022, 1:08pm UTC](https://discuss.elastic.co/t/what-happens-if-i-let-my-beats-service-run-constantly/304036/1 "2022-05-05T13:08:07Z")

</div>

Hello,  
I have a script that changes my winlogbeat.yml as a scheduled task. What happens if I start the winlogbeat service?  
Would he notice the change of data and still use it or would I have to stop the service, change the yml and start it over again(with the new yml config)

Thanks and best regards

---

<div class="post-metadata">

**Author:** ![ibra\_013](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ibra_013/32/104827_2.png) [@ibra\_013](https://discuss.elastic.co/u/ibra_013)\
**Post date:** [May 8, 2022, 2:19pm UTC](https://discuss.elastic.co/t/what-happens-if-i-let-my-beats-service-run-constantly/304036/2 "2022-05-08T14:19:57Z")

</div>

Hi,

yes you have to stop and start the service so it pick up the yml config.

---

<div class="post-metadata">

**Author:** ![smam](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@smam](https://discuss.elastic.co/u/smam)\
**Post date:** [May 9, 2022, 6:08am UTC](https://discuss.elastic.co/t/what-happens-if-i-let-my-beats-service-run-constantly/304036/3 "2022-05-09T06:08:45Z")

</div>

I see. Thank you. 🙂

---

<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:** [June 6, 2022, 8:09am UTC](https://discuss.elastic.co/t/what-happens-if-i-let-my-beats-service-run-constantly/304036/4 "2022-06-06T08:09:09Z")

</div>

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