# Alert rules with document link

**URL:** <https://discuss.elastic.co/t/alert-rules-with-document-link/336494>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [June 20, 2023, 2:48pm UTC](https://discuss.elastic.co/t/alert-rules-with-document-link/336494 "2023-06-20T14:48:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pantonis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pantonis/32/122510_2.png) [@pantonis](https://discuss.elastic.co/u/pantonis)\
**Post date:** [June 20, 2023, 2:48pm UTC](https://discuss.elastic.co/t/alert-rules-with-document-link/336494/1 "2023-06-20T14:48:44Z")

</div>

I have created an alert that filters documents based on a condition and for each document that evaluate a condition I send an email based on a mustache expression.

Everything works find except I'm missing one thing.  
For each document I need to have a link so that when clicked and user has access to open that document. In an email I might have more than 100 documents so going each one and finding it manually is not working.  
How can I do this?

Thanks in advance

---

<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:** [July 18, 2023, 2:49pm UTC](https://discuss.elastic.co/t/alert-rules-with-document-link/336494/2 "2023-07-18T14:49:11Z")

</div>

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