# Custom watcher - new document inserted

**URL:** <https://discuss.elastic.co/t/custom-watcher-new-document-inserted/290284>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [November 26, 2021, 12:38pm UTC](https://discuss.elastic.co/t/custom-watcher-new-document-inserted/290284 "2021-11-26T12:38:47Z")\
**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:** [November 26, 2021, 12:38pm UTC](https://discuss.elastic.co/t/custom-watcher-new-document-inserted/290284/1 "2021-11-26T12:38:47Z")

</div>

Hi,  
how can I create an alert triggered when a document is inserted in a particular index?

The alert should trigger an email with the content of the document.  
Someone can help me with a custom watcher?  
Thanks

---

<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:** [November 30, 2021, 9:05am UTC](https://discuss.elastic.co/t/custom-watcher-new-document-inserted/290284/2 "2021-11-30T09:05:01Z")

</div>

Any help?

---

<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 28, 2021, 9:05am UTC](https://discuss.elastic.co/t/custom-watcher-new-document-inserted/290284/3 "2021-12-28T09:05:03Z")

</div>

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