# Distributed Traces - Wildcard Search

**URL:** <https://community.dynatrace.com/t/distributed-traces-wildcard-search/45149>\
**Category:** Open Q&A\
**Tags:** distributed-traces-classic, request-attributes\
**Created:** [April 16, 2024, 8:59am UTC](https://community.dynatrace.com/t/distributed-traces-wildcard-search/45149 "2024-04-16T08:59:20Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![apanoobee](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@apanoobee](https://community.dynatrace.com/u/apanoobee)\
**Post date:** [April 16, 2024, 8:59am UTC](https://community.dynatrace.com/t/distributed-traces-wildcard-search/45149/1 "2024-04-16T08:59:20Z")

</div>

Hi guys - is there a way to do a wildcard search/filter in Distributed Traces? For example, I’d like to search for User-Agent that contains the word ‘BOT’.

![apanoobee_0-1713257778762.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/a/0a6906dc9ac6bfb6a682c9320f957da2107460e8.png)

 ![apanoobee_1-1713257818374.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/0/f060d34ae7c974719bfe1fdb6eeab2b95933b1e4.png)

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [April 16, 2024, 11:13am UTC](https://community.dynatrace.com/t/distributed-traces-wildcard-search/45149/2 "2024-04-16T11:13:22Z")

</div>

Hi,  
AFAIK this is not possible, but please check this comment

[https://community.dynatrace.com/t5/Product-ideas/Ability-to-list-the-Client-IP-in-the-PurePath-list/idc-p/216882/highlight/true#M38849](https://community.dynatrace.com/post/216882)

---

<div class="post-metadata">

**Author:** ![MichalOlszewski](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@MichalOlszewski](https://community.dynatrace.com/u/MichalOlszewski)\
**Post date:** [April 16, 2024, 11:17am UTC](https://community.dynatrace.com/t/distributed-traces-wildcard-search/45149/3 "2024-04-16T11:17:00Z")

</div>

Hi&nbsp;[@apanoobee](https://community.dynatrace.com/user/55511)&nbsp;,

unfortunately such complex filters are impossible in classic Multidimensional.  
You can thou do such things using Grail DQL filtering for traces.

Bests  
Michal

---

<div class="post-metadata">

**Author:** ![PierreGutierrez](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pierregutierrez/32/5934_2.png) [@PierreGutierrez](https://community.dynatrace.com/u/PierreGutierrez)\
**Post date:** [May 3, 2024, 3:34am UTC](https://community.dynatrace.com/t/distributed-traces-wildcard-search/45149/4 "2024-05-03T03:34:58Z")

</div>

Hi&nbsp;[@apanoobee](https://community.dynatrace.com/user/55511)

Yes, it’s possible, only need to write the text “BOT” and press enter.&nbsp;  
Because in request Attribute you can write the value, the same you can use in Multidimensional Analisys.

**NOTE : When you filter a text in request attribute ( type: String ), Dynatrace search&nbsp; some value that containt the text that you write.**

Example :

With a exact filter “CLARO”

 ![PierreGutierrez_1-1714707068510.png](https://global.discourse-cdn.com/dynatrace/original/2X/7/7555b90d1c3b2bbe8261e90288adc38b2f42d449.png)

With option in request attribue : “Any value”

 ![PierreGutierrez_2-1714707104490.png](https://global.discourse-cdn.com/dynatrace/original/1X/ea862fa9802ea87aa4b4dc31039d3e3049570934.png)

You can see the filter apply correctly, That’s a fine work!

I hope it’s helpful.&nbsp; 💪

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [May 3, 2024, 6:52am UTC](https://community.dynatrace.com/t/distributed-traces-wildcard-search/45149/5 "2024-05-03T06:52:42Z")

</div>

Hi,

Thank you.

What about “CLAAAAAAARO”?

Best regards

---

<div class="post-metadata">

**Author:** ![PierreGutierrez](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pierregutierrez/32/5934_2.png) [@PierreGutierrez](https://community.dynatrace.com/u/PierreGutierrez)\
**Post date:** [May 3, 2024, 2:34pm UTC](https://community.dynatrace.com/t/distributed-traces-wildcard-search/45149/6 "2024-05-03T14:34:21Z")

</div>

jaja HI&nbsp;[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp;  
Claro is the value.  
For more context, in Request attribute company in my Country exist “CLARO”, “MOVISTAR”, “ENTEL”, etc.&nbsp;  
Just are a Telecomunication company.

I hope it’s helpful 💪

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [May 4, 2024, 2:01pm UTC](https://community.dynatrace.com/t/distributed-traces-wildcard-search/45149/7 "2024-05-04T14:01:57Z")

</div>

Hi,

Thank you!

It means, I understand your solution is “contains” instead of of wildcard as titlle is saying.

Can we match “CLARO” “CLAARO” “CLAAAARO”. Something as use wildcard “CLA+RO”?

Best regards

---

<div class="post-metadata">

**Author:** ![PierreGutierrez](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pierregutierrez/32/5934_2.png) [@PierreGutierrez](https://community.dynatrace.com/u/PierreGutierrez)\
**Post date:** [May 4, 2024, 5:28pm UTC](https://community.dynatrace.com/t/distributed-traces-wildcard-search/45149/8 "2024-05-04T17:28:49Z")

</div>

Hi&nbsp;  
The most precise example is, like SQL : “%CLARO%” .  
Search the string “CLARO” in any value of request attribute, values like:&nbsp;  
- PCLARO  
-CASA\_CLARO  
-CLARO\_IDEA

I hope it helps to understand better.💪

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [May 6, 2024, 11:17am UTC](https://community.dynatrace.com/t/distributed-traces-wildcard-search/45149/9 "2024-05-06T11:17:23Z")

</div>

now it’s clear.  
Sorry for the bad joke.

---

<div class="post-metadata">

**Author:** ![apanoobee](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@apanoobee](https://community.dynatrace.com/u/apanoobee)\
**Post date:** [May 7, 2024, 10:46am UTC](https://community.dynatrace.com/t/distributed-traces-wildcard-search/45149/10 "2024-05-07T10:46:25Z")

</div>

Hi, sorry but this doesn’t work. I also tried the %% like how you’d&nbsp; wildcard search in SQL. When I asked one of the DT specialists and they said this is impossible at the moment but will work in Grail.

---

<div class="post-metadata">

**Author:** ![PierreGutierrez](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pierregutierrez/32/5934_2.png) [@PierreGutierrez](https://community.dynatrace.com/u/PierreGutierrez)\
**Post date:** [May 7, 2024, 2:18pm UTC](https://community.dynatrace.com/t/distributed-traces-wildcard-search/45149/11 "2024-05-07T14:18:28Z")

</div>

Hi&nbsp;[@apanoobee](https://community.dynatrace.com/user/55511)

I think I misunderstood your question. What I mentioned is that just as in your image you can select “Any value” or “missing”, it is also possible to filter by the name of the value.

In my example the RA values are, CLARO, MOVISTAR, and it is possible to make that filter.

It may be useful for you to know that you can have the filter for “contains” when you are creating a “Calculated Services Metric”, there you could do it, in case you need it.

Sorry for the confusion.
