cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Span DQL to filter on "Referer"

ronmacdonald
Organizer

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?

2 REPLIES 2

ronmacdonald
Organizer

I tried creating a request attribute for the field but that doesn't appear to be available in the span data either...

Hi @ronmacdonald 

 

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

Featured Posts