# Alerts and notifications

**URL:** <https://forum.opensearch.org/t/alerts-and-notifications/18512>\
**Category:** OpenSearch\
**Created:** [March 22, 2024, 7:55am UTC](https://forum.opensearch.org/t/alerts-and-notifications/18512 "2024-03-22T07:55:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ydembsky](https://avatars.discourse-cdn.com/v4/letter/y/278dde/32.png) [@ydembsky](https://forum.opensearch.org/u/ydembsky)\
**Post date:** [March 22, 2024, 7:55am UTC](https://forum.opensearch.org/t/alerts-and-notifications/18512/1 "2024-03-22T07:55:41Z")

</div>

Hi,

Is there a way to send by email the document that is related to a row in the Discover

**Relevant Logs or Screenshots** :

 ![image](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/e/e27204dbba36ea042e90efc830036abacb8312cf.png)

---

<div class="post-metadata">

**Author:** ![AESthetix256](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/aesthetix256/32/4680_2.png) [@AESthetix256](https://forum.opensearch.org/u/AESthetix256)\
**Post date:** [March 22, 2024, 8:32am UTC](https://forum.opensearch.org/t/alerts-and-notifications/18512/2 "2024-03-22T08:32:16Z")

</div>

Hello @ydembsky,

I guess you want to send an alert on your “data.sta…” = “TOTF fails” and contain some relevant information contained in the corresponding log?

Maybe try to take a look at and understand the following thread. I think there the Author achieved something similar to yours:

> [@How do i include message fields in the Alert Action Message](https://forum.opensearch.org/t/how-do-i-include-message-fields-in-the-alert-action-message/8167/4):
>
> So here is the solution: Discover the data you want to add alert to it in index. Save the query. Create a monitor based on query and change the default format to epoch\_millis. { "size": 500, "query": { "bool": { "filter": [ { "match\_all": { "boost": 1 } }, { "exists": { "fie…

In your case I think you first have to set up properly working email notifications before you can use Alerts with those.

BR,  
Andreas
