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
Motivator

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
Motivator

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!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...