# Is there a way to find a subset of Exceptions based on a string search? (System.Data.SqlClient.SqlExecution)

**URL:** <https://community.dynatrace.com/t/is-there-a-way-to-find-a-subset-of-exceptions-based-on-a-string-search-system-data-sqlclient-sqlexecution/41588>\
**Category:** Open Q&A\
**Tags:** distributed-traces-classic, dynatrace-managed\
**Created:** [September 11, 2023, 2:35pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-find-a-subset-of-exceptions-based-on-a-string-search-system-data-sqlclient-sqlexecution/41588 "2023-09-11T14:35:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![runatyr](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/runatyr/32/11396_2.png) [@runatyr](https://community.dynatrace.com/u/runatyr)\
**Post date:** [September 11, 2023, 2:35pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-find-a-subset-of-exceptions-based-on-a-string-search-system-data-sqlclient-sqlexecution/41588/1 "2023-09-11T14:35:33Z")

</div>

Hello:

I am tyring to find a way to graph/show Exceptions that contain a specific message.

The exception thrown above in the title (System.Data.SqlClient.SqlExecution)

Provides all the exceptions (From the Multidimensional Analysis View) that match that exception.

However, the message content can vary greatly.

Ideally, I would like to find all of those exceptions that contain in the message “Timeout expired.”

Is there a way to do this?

Kindly,

Chris.

 ![Screenshot 2023-09-11 103454.gif](https://global.discourse-cdn.com/dynatrace/original/3X/c/0/c0f6dd3e9597417915829edae895cc8f915c0ee5.gif)

---

<div class="post-metadata">

**Author:** ![natanael\_mendes](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/natanael_mendes/32/15264_2.png) [@natanael\_mendes](https://community.dynatrace.com/u/natanael_mendes)\
**Post date:** [September 11, 2023, 4:03pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-find-a-subset-of-exceptions-based-on-a-string-search-system-data-sqlclient-sqlexecution/41588/2 "2023-09-11T16:03:12Z")

</div>

you can try using log search

---

<div class="post-metadata">

**Author:** ![runatyr](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/runatyr/32/11396_2.png) [@runatyr](https://community.dynatrace.com/u/runatyr)\
**Post date:** [September 11, 2023, 5:44pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-find-a-subset-of-exceptions-based-on-a-string-search-system-data-sqlclient-sqlexecution/41588/3 "2023-09-11T17:44:16Z")

</div>

Would log search associate the log entries by service? I did not see a way to do that.

---

<div class="post-metadata">

**Author:** ![natanael\_mendes](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/natanael_mendes/32/15264_2.png) [@natanael\_mendes](https://community.dynatrace.com/u/natanael_mendes)\
**Post date:** [September 11, 2023, 6:43pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-find-a-subset-of-exceptions-based-on-a-string-search-system-data-sqlclient-sqlexecution/41588/4 "2023-09-11T18:43:41Z")

</div>

Sorry for the latest reply, i was searching about and i found what you looking

 ![natanael_mendes_1-1694457752461.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/58615ab25890aa9ccd85b4583ff892a709026f11.png)

Search in multidimensional analysis and filter by Exception

 ![natanael_mendes_2-1694457808137.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/d/ade7a3267cfeca6b1b930adcb2e46611c3b996af.png)

And put the text of the exception like this

![natanael_mendes_3-1694457871930.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/2ff6db64fd986e8f97f12c743c2eceffd4624297.png)
