# Services Down & % of Services Down

**URL:** <https://discuss.elastic.co/t/services-down-of-services-down/212660>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [December 20, 2019, 12:18pm UTC](https://discuss.elastic.co/t/services-down-of-services-down/212660 "2019-12-20T12:18:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ginu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ginu/32/86297_2.png) [@ginu](https://discuss.elastic.co/u/ginu)\
**Post date:** [December 20, 2019, 12:18pm UTC](https://discuss.elastic.co/t/services-down-of-services-down/212660/1 "2019-12-20T12:18:03Z")

</div>

Hi All  
I have a metricbeat which checks the service status which monitors the WWWServices. See below the Query

`event.dataset:windows.service AND windows.service.name: W3SVC AND windows.service.start_type.keyword:"Automatic"`

I would like to query for a service down, i know that I can run

`event.dataset:windows.service AND windows.service.name: W3SVC AND windows.service.start_type.keyword:"Automatic" AND NOT windows.service.state: Running`

My requirement is to identify when a 20 % of the services are down on multiple host to raise an alert.

Any idea ?

regards, Ginu

---

<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 17, 2020, 12:18pm UTC](https://discuss.elastic.co/t/services-down-of-services-down/212660/2 "2020-01-17T12:18:04Z")

</div>

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