Hi,
I wanted to filter the web requests that are in a specific format. Eg : /soap/example1Ws/1/service,/soap/example2Ws/1/service,/soap/example3Ws/1/service]
So I am using a Regex pattern to filter out the web requests which has the URI pattern as below:
(/soap/[example1Ws,example2WS,example3Ws]/./.*)
I have also created a Business transaction that holds the web request measure with the above Regex pattern.
But no data is getting filtered in the Business transaction.
Please find the screenshots of the Business transaction and the Measure created with the Regex pattern.
Please advise.
Answer by Andreas G. ·
Is it possible that you are actually not looking at Web Requests but Web Service calls? Can you tell me whether the PurePath is started by our Servlet Sensor or by our Web Service Sensor? If it is the Web Service Sensor you should actually use the WebService Measures that will return the Web Service Method Name or End Point. You can use this for grouping. There is also an out-of-the-box Business Transaction that groups all Web Service Calls by Name (Web Service by Method).
Could you verify if your purepaths are started by the servlet or the webservice sensor? You can also send us a screenshot from your purepath dashlet - that will allow us to see whether it is the servlet or ws sensor
andi
Answer by Priyadharshini P. ·
Hi,
Thanks a lot for your replies.I tried putting the regular expression in the Transformation Regex field but still i did not get the data in the business transaction.The Regex works with the dialog (got using the bulb button next to the text field) where we test the Regex pattern but the data is not getting filtered in the business transaction.Please find the screenshot of the Measure created with Regex pattern.
Please advise.
Answer by Guenther G. ·
Hi,
the Regexes used are Java regular expressions which are documented e.g. here http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html
You can use the bulb button next to the text field to get a dialog where you can try your regular expressions. For your case I would use something like this:
/soap/(example1Ws|example2Ws|example3Ws)/./.*
Günther
Answer by Wolfgang G. ·
Hi,
if you've got multiple URIs in the form /soap/example1Ws/1/service or /soap/example2Ws/1/service or /soap/example3Ws/1/service the pattern
(/soap/example1Ws|example2Ws|example3Ws/./.*)
should match any of them. Or did I misunderstand what you're trying to achieve?
Regards,
Wolfgang
JANUARY 15, 3:00 PM GMT / 10:00 AM ET