# Monitoring Process in Windows

**URL:** <https://discuss.elastic.co/t/monitoring-process-in-windows/285291>\
**Category:** Beats\
**Tags:** elastic-agent\
**Created:** [September 27, 2021, 11:49pm UTC](https://discuss.elastic.co/t/monitoring-process-in-windows/285291 "2021-09-27T23:49:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bevano](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@bevano](https://discuss.elastic.co/u/bevano)\
**Post date:** [September 27, 2021, 11:49pm UTC](https://discuss.elastic.co/t/monitoring-process-in-windows/285291/1 "2021-09-27T23:49:38Z")

</div>

Hi All,

Currently trying to figure out how to monitor whether a Windows application is Up or Down.

Currently using a filter to narrow down it to a specific agent.name (My Server) and process.name (application name) and its been set to alert if the number of results is below then 3 for the last 2 minutes.

This works fine if the application is busy, however when the application is idle I don't get consistent documents thus the alert is unreliable.

I am currently using elastic agent with the system integration to get my data

---

<div class="post-metadata">

**Author:** ![bevano](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@bevano](https://discuss.elastic.co/u/bevano)\
**Post date:** [September 28, 2021, 12:28am UTC](https://discuss.elastic.co/t/monitoring-process-in-windows/285291/2 "2021-09-28T00:28:43Z")

</div>

What I think the problem is, is within the System-Integration of Elastic agent, it is set to to get the top 5 CPU and Memory processes. Is there a way where I can specify the process names I want to monitor permanently?  
Not sure whether I populate "Env whirelist" or "Processes", can't find any documentation either

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 28, 2021, 1:46am UTC](https://discuss.elastic.co/t/monitoring-process-in-windows/285291/3 "2021-09-28T01:46:18Z")

</div>

Hi @bevano

Perhaps take a look at this thread I think I gave some examples

> [@Metricbeat doesn't recognize the process](https://discuss.elastic.co/t/metricbeat-doesnt-recognize-the-process/263176/2):
>
> Hi @xyz2 So what may be happening is that you are using the default system.yml (system module) see with the defaults for the p[rocess metric set](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-system-process.html) so you are probably using the Top N settings and sometimes the process you are looking for is in the Top 5 other times it is not - module: system period: 10s metricsets: - cpu - load - memory - network - process - process\_summary - socket\_summary #- entropy #- core #- diskio #- socket #- service #…

---

<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:** [October 26, 2021, 3:47am UTC](https://discuss.elastic.co/t/monitoring-process-in-windows/285291/4 "2021-10-26T03:47:13Z")

</div>

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