17 Oct 2017 08:39 PM - last edited on 16 Oct 2023 04:14 PM by random_user
Hi all,
We're looking at setting up some application rules based around HTTP request headers and the first attempt didn't succeed so wanted to clarify a few things.
Thanks!
James
Solved! Go to Solution.
18 Oct 2017 07:51 AM
Application rules uses the URLs of incoming http(s) requests to group them to applications. By default all incoming traffic is assigned to the default application called "my web application". Now you can start to group this traffic by adding application rules based on URLs.
As the domain (host) part of the URL is typically set in the host header of an request. But depending on the used infrastructure the host header may not have the original host name and the original host name is in an other header like the x-forwarded-for.
So if a request comes in, Dynatrace checks for some headers for getting the correct domain (host) to build the complete URL. You can see the default headers and the order for this domain detection at the end of the application rule settings view. If needed you can add your own header which is then used for the domain part of the URL.
After the domain lookup, the complete URL will be used for application detection.
Does this help?
19 Oct 2017 07:23 PM
Yes, this explanation is very clear. Thanks!