No worries Babar. The simple Regexes are not that hard. I strongly suggest that you try to learn it and why not use this opportunity for it? If you want, here are some links that you can start to take a look at:
As they are very versatile they will help you in other situations too (not only on Dynatrace context).
While that happens, I may try to do it for you, but I need the text of the image as plain text to be able to do some testing (I personally use the website https://regex101.com/).
PS.: Even if you tried some regex that didn't work at all, it's good to know what you did as we see that you tried and may help you on the right track.
Hello @Gabriel C.
Thank you for sharing a valuable links and encouraging me to learn by myself.
Would you mind to provide me your personal email address where I can share the text with you.
I tried the below RegEx to find both groups but not sure how much will be expensive.
The above regex will only capture that only. Also, I hope the tags (Requestor_Channel_Function> & <ASI_Return_Code>) are not repeating in return text. . If yes, then appmon will capture the very first ones.
In case of no match it will be 'null', afaik in appmon? I am right?
Also, catching the specific/arbitrary occurrence may be possible however that will make Regex complex and bulky. You need to watchout all possible return values and then create an expression.
I have faced a situation of repeated sub text like yours, but however I was lucky to grab the very first tag or the tag next to unique tag.
I guess that when part of the regex does not match/find a value, a blank will be returned, not a 'null'.
Also, depending on how you want to report the data, you want to create two metrics, one with each part of the regex above. One for
And another for