# Watcher alert with specific field

**URL:** <https://discuss.elastic.co/t/watcher-alert-with-specific-field/284302>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [September 15, 2021, 3:14pm UTC](https://discuss.elastic.co/t/watcher-alert-with-specific-field/284302 "2021-09-15T15:14:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![accateo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/accateo/32/85332_2.png) [@accateo](https://discuss.elastic.co/u/accateo)\
**Post date:** [September 15, 2021, 3:14pm UTC](https://discuss.elastic.co/t/watcher-alert-with-specific-field/284302/1 "2021-09-15T15:14:26Z")

</div>

Hi,  
I have set a watcher alert

 ![Cattura](https://us1.discourse-cdn.com/elastic/original/3X/2/9/294b5246e2536d06eda2aabe7914d63584c2df1b.png)

that is trigger when a field inside my index is over a threshold.  
How can I integrate in my mail alert the value of another field in the index.

For example, a mail like:  
The document with id=1 has a field X over threshold.

---

<div class="post-metadata">

**Author:** ![ying.mao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ying.mao/32/88151_2.png) [@ying.mao](https://discuss.elastic.co/u/ying.mao)\
**Post date:** [October 7, 2021, 3:08pm UTC](https://discuss.elastic.co/t/watcher-alert-with-specific-field/284302/2 "2021-10-07T15:08:40Z")

</div>

Hi @accateo,

I do not believe that the source documents are available using the threshold alert Watch that it looks like you are creating, but you should be able to create a custom watch for this. Here is the documentation for accessing search results directly using a custom watch: [Watcher search input | Elasticsearch Guide [7.15] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.15/input-search.html#_accessing_the_search_results). Please let me know if you are able to use this.

Thanks!

---

<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:** [November 4, 2021, 3:09pm UTC](https://discuss.elastic.co/t/watcher-alert-with-specific-field/284302/3 "2021-11-04T15:09:15Z")

</div>

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