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

Can dynatrace possible to capture two pattern using regex ?

andra_nosa
Participant

i have create request attribute to capture some parameters but i want to capture just 2 values on that, can dyntrace possible?

if i see there is regex on optional menu, please help...

this parameter example :

{ERROR_CODE=ESB-51-000,
RESPONSE_REF_NO=20200923100001028261,
ERROR_MESSAGE=Success,
RESPONSE_REASON=SUCCESS,
RESPONSE_CODE=00}


i want to get ERRCODE and ERRMSG


RG,

2 REPLIES 2

ChadTurner
Leader

Why not create two request attributes? This way you will have the granularity to isolate down to one and or both attributes.

-Chad

You can also leverage using the " | " to allow two variables with the regex detection

-Chad