08 May 2024 02:27 PM - last edited on 09 May 2024 08:13 AM by MaciejNeumann
I'm trying to write a dql that will summarize by the "referer" header value. I see an array, "supportability.non_persisted_attribute_keys" that contains http.request.header.referer but it doesn't provide the value for the keys. Is this somehow already available and I'm just not seeing it or what is the easiest way to expose the value?
Solved! Go to Solution.
08 May 2024 02:50 PM
I tried creating a request attribute for the field but that doesn't appear to be available in the span data either...
09 May 2024 03:12 PM
If you decided to get this value using request attribute did you try standard query provided by Dynatrace to looking for request attribute in spans?
fetch spans, from: -30m, to: now(), scanLimitGBytes: 500
// filter for spans with certain request attribute: `request_attribute.<your attribute name>`
| filter isNotNull(`request_attribute.<your attribute name>`)
| limit 100