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

This product reached the end of support date on March 31, 2021.

How to count web requests, where the header field "cookie" not set or not defined?


I want to see how many people have blocked cookies in their browser. I know I can create a header value to say count when header field: "Cookie" is "XY". But how can I create a metric to count all requests where the header field is not set?


Dynatrace Helper
Dynatrace Helper

Hi Eugen,

AppMon is generally designed to avoid capturing "everything that does not match" The reason being that it can easily cause excessive data capture for metrics and business transactions. However you could work around this by creating a metric with a regex that matches all of the possible fields for that header and specify to capture everything that does not match the regex. After creating this metric for the web request header value, you could specify it as a filter or splitting in a business transaction to generate charting data.