Create a business transaction based on information in the header

We have a monitoring tool that sends requests into our environments that are monitored by dynatrace, the tool injects special header information so I can identify requests that are sent by it.

I right clicked business transactions -> new business transaction

I named it "requests from monitoring tool"

Under "Configure Business Transaction" I have tried to put Header Value under both "Split Results" and "Filter". When I edit "Header Value" I have it set up to look at the correct header field name and value. I have apache set up to write this header value to the access logs, so I know the requests are coming in with that information. I still don't see any results show up in the Business Transactions Dashboard.

Attachments:
Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

Answer by
Andreas G.·
Mar 02, 2012 at 02:52 AM

Hi

It seems there is only one step missing in your attempt to create this business transaction. In order for the Split and Filter Measures to work you actually have to tell dynaTrace to capture your HTTP Header per PurePath. Then the HTTP Header Measures can return that value per PurePath and this can then be used by the Business Transaction.

Capturing HTTP Header, HTTP Parameters, Session Variables
To capture this context information you have to go to your System Profile. Go to the Sensor Configuration of your Agent Group and search for the Servlet (if your app is Java based) or ASP.NET (if it is .NET based). Next to this Sensor you will see a Properties link that you can click. This will open up a dialog that allows you to specify which additional context information you want to capture. The table on the bottom allows you to capture your HTTP Parameter.
More information on this can also be found in the online documentation: Sensor Properties

You can verify that your HTTP Headers are actually captured by opening the PurePath dashlet, select a PurePath that should have the HTTP Header and open the Details Dialog on the Root Node of the PurePath.