Splunk AppDynamics

Health Rule - Affected Entities

Daniel_Nash
Engager

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

Labels (3)
0 Karma
1 Solution

Morelz
Builder

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

View solution in original post

Morelz
Builder

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

Daniel_Nash
Engager

Thanks - this is helpful

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...