# Alert on Windows event id to be grouped by and include hostname

**URL:** <https://discuss.elastic.co/t/alert-on-windows-event-id-to-be-grouped-by-and-include-hostname/290249>\
**Category:** Kibana\
**Created:** [November 26, 2021, 8:02am UTC](https://discuss.elastic.co/t/alert-on-windows-event-id-to-be-grouped-by-and-include-hostname/290249 "2021-11-26T08:02:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Garry](https://avatars.discourse-cdn.com/v4/letter/g/bb73d2/32.png) [@Garry](https://discuss.elastic.co/u/Garry)\
**Post date:** [November 26, 2021, 8:02am UTC](https://discuss.elastic.co/t/alert-on-windows-event-id-to-be-grouped-by-and-include-hostname/290249/1 "2021-11-26T08:02:55Z")

</div>

Hi, I would like to run an alert on a specific windows log event id.  
This alert should be grouped on hostname.  
So, if 3 hosts generate this alert i would like 3 separate alerts logged.  
However, i can't seem to do this.

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [December 2, 2021, 9:21pm UTC](https://discuss.elastic.co/t/alert-on-windows-event-id-to-be-grouped-by-and-include-hostname/290249/2 "2021-12-02T21:21:33Z")

</div>

You can create 3 different alerts, each filtering on the hostname. Or just have one alert and include the hostname in the notification from Alerting, since if you have the alert on a specific log event id, i assume you want one when that log event id is found.

---

<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:** [December 30, 2021, 9:22pm UTC](https://discuss.elastic.co/t/alert-on-windows-event-id-to-be-grouped-by-and-include-hostname/290249/3 "2021-12-30T21:22:18Z")

</div>

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