When setting Affected Entities for Health Rules there is an option to state:
"Business Transactions matching the following criteria"
I have used this to exclude certain business transactions and set it to "Business Transactions matching the following criteria" NOT contains "_CatchAll"
I would like to exclude business transactions that have _CatchAll or GetCSS.aspx in the BT name - is this possible?
Can I simply set it to "Business Transactions matching the following criteria" NOT contains "_CatchAll,GetCSS.aspx"?
Hi
As the health rule does not have the option to use the "in list" condition, you will have to revert to regex
Just a simple test would look like this, that would match any BT name that does not have the following 2 words in the name
^(?!.*(_CatchAll|GetCSS.aspx)).*$
Not exactly sure how AppD would want the syntax and if it will work as above, however this piece works in normal regex
Ciao
Hi
As the health rule does not have the option to use the "in list" condition, you will have to revert to regex
Just a simple test would look like this, that would match any BT name that does not have the following 2 words in the name
^(?!.*(_CatchAll|GetCSS.aspx)).*$
Not exactly sure how AppD would want the syntax and if it will work as above, however this piece works in normal regex
Ciao
Thanks - this is helpful