cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

URL Monitoring - Regular Expression

skung
Organizer

DCRUM report url with session information currently for example: https://ics-cdw-prod.allstate.com/icscdw/(s(1pcegccicl0weu3mynyurbrn))/contentpages/extendedview.asp...

Can you suggest regular expression I can use to define in URL Monitoring to only report url like https://ics-cdw-prod.allstate.com/icscdw/contentpages/extendedview.aspx

Thank you

Sharyl

7 REPLIES 7

Hi Sharyl

This should do it for you (https://ics-cdw-prod.allstate.com/icscdw/)[^/]+/(contentpages/extendedview.aspx)

This assumes you are using one of the latest versions of DC-RUM that uses extended regex.

Regards

Alasdair

skung
Organizer

Do I have to specify the rule for every url? All pages have same pattern for example another page looks like this https://ics-prod-cdw.allstate.com/icscdw/(s(xnszawb1cxkdcpfzsighphv5))/contentpages/search.aspx and I would like to report to https://ics-prod-cdw.allstate.com/icscdw/contentpages/search.aspx

No the one I gave you would specifically have to end with contentpages/extendedview.aspx

If you want one that would cover all scenarios replace the second part with .*

(https://ics-cdw-prod.allstate.com/icscdw/)[^/]+/(.*)

However with this you will only be able to set one operation threshold to cover all. If you need different thresholds for each then you will have to do them separately.

Regards

Alasdair

skung
Organizer

It is not working. Shouldn't this part "[^/]" to be modified? as everything between the two "/" has to be ignored

Which version are you using?

 

 

12.2.2.74

Alasdair,


I tested the one again you suggested earlier. It is working. Thank you very much.


 


Sharyl