# GrayLog 5 and Alerts

**URL:** <https://community.graylog.org/t/graylog-5-and-alerts/29178>\
**Category:** Graylog Central (peer support)\
**Created:** [June 15, 2023, 3:01pm UTC](https://community.graylog.org/t/graylog-5-and-alerts/29178 "2023-06-15T15:01:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![drewmiranda-gl](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/drewmiranda-gl/32/13376_2.png) [@drewmiranda-gl](https://community.graylog.org/u/drewmiranda-gl)\
**Post date:** [June 15, 2023, 9:15pm UTC](https://community.graylog.org/t/graylog-5-and-alerts/29178/2 "2023-06-15T21:15:42Z")

</div>

You can do something similar to this post: [Alert when no logs is sent from a host | ChatGPT solution - #7 by drewmiranda-gl](https://community.graylog.org/t/alert-when-no-logs-is-sent-from-a-host-chatgpt-solution/29098/7)

Be sure to change the search criteria to suite your needs. For example you can have a query that searches for messages from a specific graylog input:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/6/615977fd6dea805c96985a72a5ac355c2b1c9c65.png)

You can find the correct input by adding that field to the message table.

![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/c/cbdc96127801535583c2bda18ecf8838d6a4bf4c.png)

---

_[View the full topic](https://community.graylog.org/t/graylog-5-and-alerts/29178)._
