16 Feb 2024 05:52 PM - last edited on 19 Feb 2024 09:15 AM by Ana_Kuzmenchuk
I am monitoring HTTP traffic to web applications and would like to create an automatic tagging rule that would assign a tag when a specific HTTP request header is present in the request. Ideally the value associated with the request header would be used as the value of the tag. I looked into the automatic tagging rules in Settings but I wasn't able to put together anything that used the request header. Is it possible? how?
Thanks, JT
Solved! Go to Solution.
16 Feb 2024 07:41 PM
So this cant be done as a tag, but you can accomplish it via a Request Attribute. This RA will then only be applicable at the request level. You can however extend it past that by adding it to user sessions as a string property and even filter on your services based off the RA value. But Tags in the sense of Manual and Automatic tags, thats not going to work out.
16 Feb 2024 07:54 PM
Excellent suggestion. I'll set that up right now. Thanks,
JT
20 Feb 2024 04:29 PM
It is possible also do the following:
This requires you know in advance the possible values of that HTTP header though.
@ChadTurner what do you think?
20 Feb 2024 06:49 PM
steps 2 and 3 you could do, but you'd also be alerting the name of the services that staff might already be familiar with. If you made the RA, you can already filter on the RA Value in many of the charts, if you wan to trickle them back to the host you could also do this via entity selection with relationship variables. It all depends on how deep into the weeds you want to go.
21 Feb 2024 08:25 AM
Sure, right point. Only in data explorer you can't, if I'm not wrong you can filter by RA presence, not value.
Thanks for your pov.
Bye!
Paolo