# APM error Id in email alert

**URL:** <https://discuss.elastic.co/t/apm-error-id-in-email-alert/258803>\
**Category:** APM\
**Tags:** java, ui\
**Created:** [December 16, 2020, 5:35am UTC](https://discuss.elastic.co/t/apm-error-id-in-email-alert/258803 "2020-12-16T05:35:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivasantosh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shivasantosh/32/80942_2.png) [@shivasantosh](https://discuss.elastic.co/u/shivasantosh)\
**Post date:** [December 16, 2020, 5:35am UTC](https://discuss.elastic.co/t/apm-error-id-in-email-alert/258803/1 "2020-12-16T05:35:25Z")

</div>

Our application is in Java Spring boot. We have integrated with APM during startup of application.  
APM is showing up health and requests.

Recently, we have added email alerts for the exceptions or errors raised in the my application.

We have configured email alerts in Menu-\>Stack management-\> Alerts and Actions

We wanted to include error Url in the email. As the URL should point to specific error. wanted to include error Id in the url.  
In the below URL what is the configuration value for bold part.

```auto
https://***:9243/app/apm/services/test-app/errors/c3fdc4236bd9f40f3014af8bac076f0a?rangeFrom=now-15m&rangeTo=now

```

For example: **test-app** in the above url is my application name which is {{alertInstanceId}} configuration value of APM.

Please let me know how to get this value c3fdc4236bd9f40f3014af8bac076f0a(dynamic) in email.

---

<div class="post-metadata">

**Author:** ![sqren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sqren/32/26110_2.png) [@sqren](https://discuss.elastic.co/u/sqren)\
**Post date:** [December 17, 2020, 12:46am UTC](https://discuss.elastic.co/t/apm-error-id-in-email-alert/258803/2 "2020-12-17T00:46:07Z")

</div>

Hi there,

This is unfortunately not currently possible but I've created an [issue](https://github.com/elastic/kibana/issues/86108) that you can subscribe to and we will try to prioritise it in one of the upcoming releases.

---

<div class="post-metadata">

**Author:** ![shivasantosh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shivasantosh/32/80942_2.png) [@shivasantosh](https://discuss.elastic.co/u/shivasantosh)\
**Post date:** [December 17, 2020, 7:00am UTC](https://discuss.elastic.co/t/apm-error-id-in-email-alert/258803/3 "2020-12-17T07:00:24Z")

</div>

Thanks so much for taking up. We would be waiting for this feature. 🙂

So that from mail alert we can directly get to specified error instead of errors tab

---

<div class="post-metadata">

**Author:** ![sqren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sqren/32/26110_2.png) [@sqren](https://discuss.elastic.co/u/sqren)\
**Post date:** [December 17, 2020, 10:27am UTC](https://discuss.elastic.co/t/apm-error-id-in-email-alert/258803/4 "2020-12-17T10:27:41Z")

</div>

> [@shivasantosh](#):
>
> So that from mail alert we can directly get to specified error instead of errors tab

Yes, this makes a lot of sense. Thanks for the feedback

---

<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:** [January 7, 2021, 6:27am UTC](https://discuss.elastic.co/t/apm-error-id-in-email-alert/258803/5 "2021-01-07T06:27:45Z")

</div>

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