# Add custom fields to my email alert

**URL:** <https://discuss.elastic.co/t/add-custom-fields-to-my-email-alert/288529>\
**Category:** Elastic Observability\
**Tags:** elastic-stack-alerting\
**Created:** [November 5, 2021, 9:52pm UTC](https://discuss.elastic.co/t/add-custom-fields-to-my-email-alert/288529 "2021-11-05T21:52:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trying2learn](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@Trying2learn](https://discuss.elastic.co/u/Trying2learn)\
**Post date:** [November 5, 2021, 9:52pm UTC](https://discuss.elastic.co/t/add-custom-fields-to-my-email-alert/288529/1 "2021-11-05T21:52:30Z")

</div>

Hello,

I am new to Elastic & I am slowly trying configure alerts . I have created a observability email alert. But I would like to add specific details about the alert into my email. I understand I need to use the {{Mustache}} values to add variables to my email. But my issue is that I cannot add custom variables (IE: "Prod, Message from my streams. I feel these are very important to keep my alerts from becoming "Noise" that gets ignored or sent to junk. Does anyone know have to add values from my log stream into an email message?

Thank you and appreciate the knowledge,  
Will

---

<div class="post-metadata">

**Author:** ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)\
**Post date:** [November 10, 2021, 11:27am UTC](https://discuss.elastic.co/t/add-custom-fields-to-my-email-alert/288529/2 "2021-11-10T11:27:35Z")

</div>

Hi @Trying2learn,

this sounds very much like the request made in [[Logs UI] Make matching documents available in log threshold alert action context · Issue #112447 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/112447).

You're welcome to add examples of your use-case to the issue. That help us prioritize and scope the feature appropriately.

---

<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, 2022, 8:32am UTC](https://discuss.elastic.co/t/add-custom-fields-to-my-email-alert/288529/3 "2022-11-04T08:32:57Z")

</div>


