# Create an alert on a process\\service that stopped running

**URL:** <https://discuss.elastic.co/t/create-an-alert-on-a-process-service-that-stopped-running/314125>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [September 10, 2022, 9:24pm UTC](https://discuss.elastic.co/t/create-an-alert-on-a-process-service-that-stopped-running/314125 "2022-09-10T21:24:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mor123460](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mor123460/32/104519_2.png) [@Mor123460](https://discuss.elastic.co/u/Mor123460)\
**Post date:** [September 10, 2022, 9:24pm UTC](https://discuss.elastic.co/t/create-an-alert-on-a-process-service-that-stopped-running/314125/1 "2022-09-10T21:24:51Z")

</div>

Hey.  
As i understand, there isn't a log created when a process stop running, because it's simply disappearing.  
So, how can i create an alert on a log with specific command line that stopped arriving from a metricbeat?  
Or if there any configuration for the module file to alert me when a specific processes with a specific command line can't be found by the metricbeat?  
Also, when we monitor services, even though I'm getting a log when the service is stopped, the metricbeat will always report that, so, how can i create an alert for simply the first event and not all the time? (I have configure my metricbeat to run every 1m and not every 10s)  
Basically i want to create a KeepAlive, with visualization and alerts on a specific processes and services.

---

<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 8, 2022, 11:25pm UTC](https://discuss.elastic.co/t/create-an-alert-on-a-process-service-that-stopped-running/314125/2 "2022-10-08T23:25:16Z")

</div>

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