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

Need help with Regex

Hi,

 

I need help with regex for useractions. My requirement is to match multiple domains and when i test regex its working fine in regex tester but when i check in dynatrace its not allowing.

 

Here is my requirement to match below domains

www-pt.abc.com
asean-pt.abc.com

latino-pt.abc.com

But shouldn't match below domain

stg-manage.abc.com

Here is the regex i see working in regex tester ^(?:www|asean|latino)\-pt\.abc\.com

 

Please guide me with the right regex for my requirement in dyantrace.

 

Thanks,

Tarun

2 REPLIES 2

Julius_Loman
DynaMight Guru
DynaMight Guru

Where in Dynatrace are you trying to use the regex? Because in application detection rule you cannot use regular expressions to match the domains/URLs. 

Certified Dynatrace Master | TEMPEST a.s., Slovakia, Dynatrace Master Partner

Babar_Qayyum
DynaMight Guru
DynaMight Guru

Hello @tarun_kumar_aga 

You can use pt.abc.com to define which web requests for your applications.

Babar_Qayyum_0-1646733996753.png

For more insight:

https://www.dynatrace.com/support/help/how-to-use-dynatrace/real-user-monitoring/setup-and-configura...

 

Regards,

Babar