# Metric beat service turns off automatically in windows sever

**URL:** <https://discuss.elastic.co/t/metric-beat-service-turns-off-automatically-in-windows-sever/211060>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [December 9, 2019, 7:16am UTC](https://discuss.elastic.co/t/metric-beat-service-turns-off-automatically-in-windows-sever/211060 "2019-12-09T07:16:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![shiva13](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiva13/32/59014_2.png) [@shiva13](https://discuss.elastic.co/u/shiva13)\
**Post date:** [December 9, 2019, 7:16am UTC](https://discuss.elastic.co/t/metric-beat-service-turns-off-automatically-in-windows-sever/211060/1 "2019-12-09T07:16:51Z")

</div>

Hi,  
I have integrated my windows server using metric beat to ELK. But the services automatically goes to off mode every few minutes.  
Please help.

Thanks,  
Shiva

---

<div class="post-metadata">

**Author:** ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)\
**Post date:** [December 9, 2019, 10:50am UTC](https://discuss.elastic.co/t/metric-beat-service-turns-off-automatically-in-windows-sever/211060/2 "2019-12-09T10:50:51Z")

</div>

Hi @shiva13!

Could you elaborate more on this please?  
What are the services you are referring to run and with what configuration do you run them?

Thanks!

---

<div class="post-metadata">

**Author:** ![shiva13](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiva13/32/59014_2.png) [@shiva13](https://discuss.elastic.co/u/shiva13)\
**Post date:** [December 9, 2019, 10:59am UTC](https://discuss.elastic.co/t/metric-beat-service-turns-off-automatically-in-windows-sever/211060/3 "2019-12-09T10:59:19Z")

</div>

Hi @ChrsMark,  
I have installed metric beat on the windows server (endpoint) and configured system module and enabled. I started metric beat service in the server (endpoint) , I could see data in kibana dashboard.

But the metric beat windows service always shows **start**. When I click restart it does but after few minutes again it will ask for a **start**. Please find the attached image. Thanks ![MB](https://us1.discourse-cdn.com/elastic/original/3X/c/2/c238ebb2ffe09698e7ebf2524637c145532ae35b.png)

---

<div class="post-metadata">

**Author:** ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)\
**Post date:** [December 9, 2019, 2:29pm UTC](https://discuss.elastic.co/t/metric-beat-service-turns-off-automatically-in-windows-sever/211060/4 "2019-12-09T14:29:50Z")

</div>

Could you check for logs the service produce?

We need to verify that Metricbeat is able to start with no errors.

Thanks!

---

<div class="post-metadata">

**Author:** ![shiva13](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiva13/32/59014_2.png) [@shiva13](https://discuss.elastic.co/u/shiva13)\
**Post date:** [December 10, 2019, 10:13am UTC](https://discuss.elastic.co/t/metric-beat-service-turns-off-automatically-in-windows-sever/211060/5 "2019-12-10T10:13:02Z")

</div>

Chris,  
Yeah there is an error EVENT ID 7034.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/5/959d9ea5a04e1d50493525f4731570f6d997dd0a.png)

---

<div class="post-metadata">

**Author:** ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)\
**Post date:** [December 10, 2019, 1:03pm UTC](https://discuss.elastic.co/t/metric-beat-service-turns-off-automatically-in-windows-sever/211060/6 "2019-12-10T13:03:43Z")

</div>

Hi!

This is not quite helpful, we need to observe the Metricbeat's app logs. Could you configure Metricbeat's logging (see [https://www.elastic.co/guide/en/beats/metricbeat/current/configuration-logging.html](https://www.elastic.co/guide/en/beats/metricbeat/current/configuration-logging.html)) and restart the service? Set the log level to `debug`. Then please look in the logfile to see the reason and also share it here to find out the solution.

Thanks!

---

<div class="post-metadata">

**Author:** ![shiva13](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiva13/32/59014_2.png) [@shiva13](https://discuss.elastic.co/u/shiva13)\
**Post date:** [December 17, 2019, 8:48am UTC](https://discuss.elastic.co/t/metric-beat-service-turns-off-automatically-in-windows-sever/211060/7 "2019-12-17T08:48:45Z")

</div>

Hi @ChrsMark ,  
I haven't done any changes but now the service not going to off mode. Will monitor for few days and update if it recurs. Thanks for your help 🙂

---

<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:** [January 14, 2020, 8:48am UTC](https://discuss.elastic.co/t/metric-beat-service-turns-off-automatically-in-windows-sever/211060/8 "2020-01-14T08:48:51Z")

</div>

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