# Chart exception count filtered by message

**URL:** <https://community.dynatrace.com/t/chart-exception-count-filtered-by-message/21271>\
**Category:** Dashboarding\
**Tags:** dashboards-classic\
**Created:** [January 21, 2021, 8:57pm UTC](https://community.dynatrace.com/t/chart-exception-count-filtered-by-message/21271 "2021-01-21T20:57:28Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkulov](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mkulov/32/11732_2.png) [@mkulov](https://community.dynatrace.com/u/mkulov)\
**Post date:** [January 21, 2021, 8:57pm UTC](https://community.dynatrace.com/t/chart-exception-count-filtered-by-message/21271/1 "2021-01-21T20:57:28Z")

</div>

Hi,

Can we chart exception count filtered by exception message?

Any workaround if it is not possible out of the box?

Thank you!

Martin

---

<div class="post-metadata">

**Author:** ![JamesKitson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jameskitson/32/22460_2.png) [@JamesKitson](https://community.dynatrace.com/u/JamesKitson)\
**Post date:** [January 21, 2021, 9:15pm UTC](https://community.dynatrace.com/t/chart-exception-count-filtered-by-message/21271/2 "2021-01-21T21:15:24Z")

</div>

You con’t do that out of the box because to do that we would need to be storing long term a metric for _every_ exception which would be way too any timeseries metrics and use up a lot of storage.

What you can do though is create a [calculated service metric](https://www.dynatrace.com/news/blog/custom-metrics-for-services-enrich-dynatrace-ai-and-dashboarding-capabilities-eap/) with the source as request count and filtered down to the specific exception class or message that you are interested in. Then a new metric will be stored for that exception and you can chart it or use it to create alert events as needed.

 ![27940-1611263719741.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/8/0873803241228173c59551006393359261b3b8ce.png)

---

<div class="post-metadata">

**Author:** ![julien\_duhamel1](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@julien\_duhamel1](https://community.dynatrace.com/u/julien_duhamel1)\
**Post date:** [March 18, 2021, 9:09am UTC](https://community.dynatrace.com/t/chart-exception-count-filtered-by-message/21271/3 "2021-03-18T09:09:20Z")

</div>

Hello Martin,

Yes, it’s possible. For this you must create a “Calculated service metrics”

In this exmple i would like track the locktable with Dynatrace.

Use “exception class” and select what typologie of exception you would receive (In my exemple it’s for SQL request).

 ![julien_duhamel1_0-1616057922146.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/9/79cef62697389b78d8e6fdce38d18b4b7a83af2e.png)

Dont forget to split with Dimension :&nbsp;Exception class and message

 ![julien_duhamel1_1-1616058148424.png](https://global.discourse-cdn.com/dynatrace/original/3X/3/9/392479c8e795486844daa0032ac429ab2784b3d7.png)

last step :

Create a custom Dashboard with your metric inside like standart metric.

If you would like to navigate to your exception, you must create a direct link to “Multidimensionnal analysis”&nbsp; like this&nbsp; :

 ![julien_duhamel1_2-1616058599080.png](https://global.discourse-cdn.com/dynatrace/original/3X/6/8/68cd7d066e34ec2b037f3963f7cb925eb57df45d.png)

Hope can help you

Regards

Julien D.

---

<div class="post-metadata">

**Author:** ![AlanZ](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alanz/32/29676_2.png) [@AlanZ](https://community.dynatrace.com/u/AlanZ)\
**Post date:** [April 12, 2021, 8:30pm UTC](https://community.dynatrace.com/t/chart-exception-count-filtered-by-message/21271/4 "2021-04-12T20:30:02Z")

</div>

Hi all,

Once the metric is collected, is there any way to drill down or find the purepath that have the exact exception message and thus related to an exception message metric ?

There is a filter for exception class but the exception message filter does not seem to exist.

![alain_z_cote_0-1618259340288.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/d/cdf9b657bce11adfaf6772807fa3b5b63203c562.png)

---

<div class="post-metadata">

**Author:** ![julien\_duhamel1](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@julien\_duhamel1](https://community.dynatrace.com/u/julien_duhamel1)\
**Post date:** [April 13, 2021, 10:30am UTC](https://community.dynatrace.com/t/chart-exception-count-filtered-by-message/21271/5 "2021-04-13T10:30:54Z")

</div>

Hey Alain,

The exception class is bug. You cannot retrieve your exact message with it.

Thats why i play with differents scenario :

**1rst** &nbsp;: Select the service and filter with exception details, (working well but cannot transform into a dashboard unftornatly).

**2nd way** &nbsp;: Set requests attributes and filter with for display all transactions you are looking for. You can retrieve this information with Purepath or Diagnostic tool, does not matter.

---

<div class="post-metadata">

**Author:** ![AlanZ](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alanz/32/29676_2.png) [@AlanZ](https://community.dynatrace.com/u/AlanZ)\
**Post date:** [April 13, 2021, 1:32pm UTC](https://community.dynatrace.com/t/chart-exception-count-filtered-by-message/21271/6 "2021-04-13T13:32:14Z")

</div>

Thanks Julien,

There is no “exception message” filter available in the service MDA analysis view, only “exception class”. Since the “exception class” in our case is general and applies to many transactions and the “exception message” is the only thing specific to the purepath we’re looking for, seems we’re out of luck.

---

<div class="post-metadata">

**Author:** ![julien\_duhamel1](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@julien\_duhamel1](https://community.dynatrace.com/u/julien_duhamel1)\
**Post date:** [April 14, 2021, 10:36pm UTC](https://community.dynatrace.com/t/chart-exception-count-filtered-by-message/21271/7 "2021-04-14T22:36:23Z")

</div>

![julien_duhamel1_0-1618439735475.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/243f3442c1d017375742b4b7b054206d1b0d60d9.png)

Usually, i’m looking generical message, who can be relevant like that. I’m dril down on my critical service.. and show messsage “exception message”. It’s little bit boring, but it’s much easier to drill down in ton of log files :=)

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [June 21, 2021, 8:47am UTC](https://community.dynatrace.com/t/chart-exception-count-filtered-by-message/21271/8 "2021-06-21T08:47:47Z")

</div>

Hi&nbsp;[@julien\_duhamel1](https://community.dynatrace.com/user/12854)

Thanks for your time and your post, very interesting (Merci beaucoup).

I have 2 questions if possible:

Same thing for me I want to split each Generic Exception By message, or filter by message… (one generic exception have a lot of exceptions: the difference is the MESSAGE).

Second thing, the result is not correct for me

I use this calculated metric

 ![alatarsa1_1-1624264920136.png](https://global.discourse-cdn.com/dynatrace/original/2X/d/d6615a418a7e74d55544eb449e1e5d22451c0943.png)

 ![alatarsa1_2-1624264935390.png](https://global.discourse-cdn.com/dynatrace/original/2X/0/0790596e84a2b18ae9115e7e734a8b72ba5c20a6.png)

and that is the result:

 ![alatarsa1_3-1624264983720.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/e/ce4530483005f555b2061edef800998ec5042cc1.png)

in the diagnostic tool:

 ![alatarsa1_5-1624265013322.png](https://global.discourse-cdn.com/dynatrace/original/3X/3/8/38cc084b8b8798809bea2b0ef22b076fe9a82b7c.png)

Question: why the system count 4\*2 (8Exceptions) knowing that I have only one Purepath that have 2 exceptions with the same message

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![julien\_duhamel1](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@julien\_duhamel1](https://community.dynatrace.com/u/julien_duhamel1)\
**Post date:** [June 22, 2021, 7:05am UTC](https://community.dynatrace.com/t/chart-exception-count-filtered-by-message/21271/9 "2021-06-22T07:05:10Z")

</div>

Good question, to my understanding : You are using executing 4X the same lib time your webrequest.

To confirm, is you made a purepath/purepath., you should have same information. (Exception)

This exactly why, i group “message”.&nbsp; Try to add “Exeception class” in dimension field. Should be help.

It’s complex to create “familly of message” in level of Webservice, this is why i prefer looking side SQL execution, you find some very valuable informations.

To my perception, read message in real time, it’s incredible powerfull for RUN teams., you can catch “Token issues”, “cerficate expired”, “every applicative errors” .

Hop can be help

Julien&nbsp;

 ![julien_duhamel1_1-1616058148424.png](https://global.discourse-cdn.com/dynatrace/original/3X/3/9/392479c8e795486844daa0032ac429ab2784b3d7.png)

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [June 22, 2021, 7:41am UTC](https://community.dynatrace.com/t/chart-exception-count-filtered-by-message/21271/10 "2021-06-22T07:41:01Z")

</div>

Hello&nbsp;[@julien\_duhamel1](https://community.dynatrace.com/user/12854)

Totally agree, but this is the requirement of our customer 😞 .

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [June 22, 2021, 8:16am UTC](https://community.dynatrace.com/t/chart-exception-count-filtered-by-message/21271/11 "2021-06-22T08:16:25Z")

</div>

Hi&nbsp;[@julien\_duhamel1](https://community.dynatrace.com/user/12854)&nbsp;, another thing

I want to make the same thing with the response time, impossible for me to split by message.

I want to make a dashboard to link Requests Count and Response Time for each Exception Message.

Thanks

---

<div class="post-metadata">

**Author:** ![julien\_duhamel1](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@julien\_duhamel1](https://community.dynatrace.com/u/julien_duhamel1)\
**Post date:** [June 27, 2021, 9:53pm UTC](https://community.dynatrace.com/t/chart-exception-count-filtered-by-message/21271/12 "2021-06-27T21:53:26Z")

</div>

Add me on linkedin, your case look not impossible. 🙂

---

<div class="post-metadata">

**Author:** ![The\_AM](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@The\_AM](https://community.dynatrace.com/u/The_AM)\
**Post date:** [June 27, 2021, 11:11pm UTC](https://community.dynatrace.com/t/chart-exception-count-filtered-by-message/21271/13 "2021-06-27T23:11:07Z")

</div>

Hi [@julien\_duhamel1](https://community.dynatrace.com/user/12854) , [@Malaik](https://community.dynatrace.com/user/23195) , [@AlanZ](https://community.dynatrace.com/user/19668) ,

If you feel Dynatrace should have the exception message better displayed/filtered in multi-dimensional analysis views, please kindly vote on my existing product idea for it:  
[https://community.dynatrace.com/t5/Dynatrace-product-ideas/RFE-Add-exception-message-to-MDA-Exception-Analysis-filters/idi-p/164986](https://community.dynatrace.com/post/164986)

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [June 28, 2021, 9:36am UTC](https://community.dynatrace.com/t/chart-exception-count-filtered-by-message/21271/14 "2021-06-28T09:36:59Z")

</div>

Thanks Julien

[https://www.linkedin.com/in/abdelmalek-latarsa-68443745/](https://www.linkedin.com/in/abdelmalek-latarsa-68443745/)

This is mine
