# Can I search Purepath object in the Dynatrace UI using the x-dynatrace header?

**URL:** <https://community.dynatrace.com/t/can-i-search-purepath-object-in-the-dynatrace-ui-using-the-x-dynatrace-header/18660>\
**Category:** Real User Monitoring\
**Tags:** appmon, mobile-monitoring, log-monitoring-class\
**Created:** [March 4, 2020, 10:09pm UTC](https://community.dynatrace.com/t/can-i-search-purepath-object-in-the-dynatrace-ui-using-the-x-dynatrace-header/18660 "2020-03-04T22:09:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amit\_shukla1](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@amit\_shukla1](https://community.dynatrace.com/u/amit_shukla1)\
**Post date:** [March 4, 2020, 10:09pm UTC](https://community.dynatrace.com/t/can-i-search-purepath-object-in-the-dynatrace-ui-using-the-x-dynatrace-header/18660/1 "2020-03-04T22:09:13Z")

</div>

Can I search Purepath object in the Dynatrace UI using the x-dynatrace header?

---

<div class="post-metadata">

**Author:** ![Dallas](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dallas/32/31233_2.png) [@Dallas](https://community.dynatrace.com/u/Dallas)\
**Post date:** [March 4, 2020, 10:18pm UTC](https://community.dynatrace.com/t/can-i-search-purepath-object-in-the-dynatrace-ui-using-the-x-dynatrace-header/18660/2 "2020-03-04T22:18:39Z")

</div>

Hey Amit,

I believe you would have to set up a request attribute to capture the x-dynatrace header value and search for this attribute. Once you have this configured you should be able to look in the individual service or use diagnostic tools “top web requests” to search all available purepaths.

Here is a link to the doc that shows how to configure request attributes:

> **[Request attributes in Services](https://docs.dynatrace.com/docs/observe/application-observability/services/request-attributes)**
>
> Understand what request attributes are and learn how to use them across all levels of all service-analysis views.

Cheers

-Dallas

---

<div class="post-metadata">

**Author:** ![Markus\_Hraba](https://avatars.discourse-cdn.com/v4/letter/m/d26b3c/32.png) [@Markus\_Hraba](https://community.dynatrace.com/u/Markus_Hraba)\
**Post date:** [September 22, 2021, 12:13pm UTC](https://community.dynatrace.com/t/can-i-search-purepath-object-in-the-dynatrace-ui-using-the-x-dynatrace-header/18660/3 "2021-09-22T12:13:37Z")

</div>

Hi Dallas,

is this still the current state of affairs? It would be really helpful, in a rather large and decentralized organisation, to have the ability to search for x-dynatrace header in the DT UI out of the box - as different point of entry if you will, to start a root cause investigation. E.g. you got logs from your mobile application or a microservice with the&nbsp;x-dynatrace header and want to find now the related PurePath and thus be able to do backtracing and so on.

A start would be simply adding it in the tracing section, similar to the W3C trace ID

 ![Markus_Hraba_0-1632317035384.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/6/163eb8d6a3a2d3a9b34d1fc123a7e5b760dbe10f.png)

Cheers

MH

---

<div class="post-metadata">

**Author:** ![Christoph\_Neum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/christoph_neum/32/21662_2.png) [@Christoph\_Neum](https://community.dynatrace.com/u/Christoph_Neum)\
**Post date:** [September 23, 2021, 10:47am UTC](https://community.dynatrace.com/t/can-i-search-purepath-object-in-the-dynatrace-ui-using-the-x-dynatrace-header/18660/4 "2021-09-23T10:47:03Z")

</div>

May I ask what’s exactly the use-case?

If the use-case is to identify a transaction based on some logs (e.g. HTTP header logging x-dynatrace), then wouldn’t the Trace-ID already fulfill exactly that use-case?
