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

Health Rule - Affected Entities

Daniel.Nash
New Poster

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"?

 

2 REPLIES 2

Mario.Morelli
Architect

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

 



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Learn more about me in the Community Member Spotlight Q & A

Thanks - this is helpful