12 Mar 2025 05:03 PM
Hello everybody.
I've been using the 'Custom multidimensional analysis' to get the 'Request Count', filtering by Service types and by custom 'service tags' and 'process group tags', and spltting by dimension {Request:Name} to successfully get a list of top web request.
Now , I would like to narrow my querry a bit more by using a request attribute (yet to be done) as value to narrow the filter.
The results I've got so far look like these:
/bi/eu/checkout
/health/probe.html
/ma/ca/ginbi/1/authentication/loginInfo
/bc/ca/ginbi/1/authentication/loginInfo
preferences
/lu/ga/checkout
I would like to create a request attribute called 'region' that would use the following regex:
^/([a-z]{2})/
Which means that in case the request looks like this:
/**/co/whatever -> It will get the value of the two characters between the 2nd and 3rd '/' character.
By doing this. When for example filtering by: Request attribute: region = "ca" --> it should only return:
/ma/ca/ginbi/1/authentication/loginInfo
/bc/ca/ginbi/1/authentication/loginInfo
I've tried unsuccesfully different approaches by using these datasources:
Capture Web request URL path globally
Capture Web service method name globally
Capture Web request URL path globally
Capture Web request URL globally
But I only see the request attribute created and attached to traces but not to web request.
It is possible to get this done?
Any help about whjat can I be doing wrong?
Thank you in advance.