# Config for Monitoring Windows Services by heartbeat error

**URL:** https://discuss.elastic.co/t/config-for-monitoring-windows-services-by-heartbeat-error/226999
**Category:** Beats
**Tags:** heartbeat
**Created:** [April 7, 2020, 7:46pm UTC](https://discuss.elastic.co/t/config-for-monitoring-windows-services-by-heartbeat-error/226999 "2020-04-07T19:46:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Mehak\_Bhargava](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mehak_bhargava/32/54750_2.png) [@Mehak\_Bhargava](https://discuss.elastic.co/u/Mehak_Bhargava)
#### Post date: [April 7, 2020, 7:46pm UTC](https://discuss.elastic.co/t/config-for-monitoring-windows-services-by-heartbeat-error/226999/1 "2020-04-07T19:46:10Z")

</div>

I have my elasticsearch, logstash, kibana running inside docker. The files filebeat ships are from another server. Firstly, I just want to see if up/down status is provided for windows services.

- Can I install heartbeat on the filebeat server where my logs are or is it better to install on docker?
- If I install heartbeat inside docker ,this will be my configuration file for heartbeat-

```auto
heartbeat.monitors:
- type: icmp
  hosts: ["xxxxx"]
  schedule: '@every 10s'
  timeout: 16s
- type: icmp
  hosts: ["xxxx"]

```

I am not sure how to define monitoring windows service's for url.

---

<div class="post-metadata">

### Author: ![Mehak\_Bhargava](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mehak_bhargava/32/54750_2.png) [@Mehak\_Bhargava](https://discuss.elastic.co/u/Mehak_Bhargava)
#### Post date: [April 7, 2020, 7:47pm UTC](https://discuss.elastic.co/t/config-for-monitoring-windows-services-by-heartbeat-error/226999/2 "2020-04-07T19:47:15Z")

</div>

@Andrew_Cholakian1 I read your comment on a post similar to this. Could you please help?

> [@Heartbeat Monitoring for Windows Servers](https://discuss.elastic.co/t/heartbeat-monitoring-for-windows-servers/202227):
>
> I have tried to setup heartbeat monitoring for windows servers. I have setup IMCP through the Module.d folder. The heartbeat service starts and shows the server as up. I can power down the server and the monitor still shows as up. How can I fix this and what did I not setup correctly? Thanks in Advance

---

<div class="post-metadata">

### Author: ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)
#### Post date: [April 14, 2020, 2:08am UTC](https://discuss.elastic.co/t/config-for-monitoring-windows-services-by-heartbeat-error/226999/3 "2020-04-14T02:08:08Z")

</div>

We only support monitoring of `icmp`/`tcp`/`http` with heartbeat. If your service responds to these protocols you can monitor that.

Generally, people install a central heartbeat or two to monitor many boxes, but you don't have to do things this way.

---

<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: [May 12, 2020, 2:08am UTC](https://discuss.elastic.co/t/config-for-monitoring-windows-services-by-heartbeat-error/226999/4 "2020-05-12T02:08:09Z")

</div>

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