Splunk Search

BEWARE: srchFilter usage may negate each other in certain situation.

the_wolverine
Champion

If you are using deny (NOT) in your srchFilter be aware that inheritance of multiple roles with negative filters will negate each other.

For example:

role1: srchFilter = NOT abc
role2: srchFilter = NOT xyz

inherited/combined:  srchFilter = (NOT abc) OR (NOT xyz)
       outcome = access to all.

Anyone have a workaround for this?

1 Solution

martin_mueller
SplunkTrust
SplunkTrust

This sounds like a case for srchFilterSelecting = false: http://docs.splunk.com/Documentation/Splunk/6.3.3/Admin/authorizeconf

Then you'd get a combined filter of (NOT abc) AND (NOT xyz)

View solution in original post

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

This sounds like a case for srchFilterSelecting = false: http://docs.splunk.com/Documentation/Splunk/6.3.3/Admin/authorizeconf

Then you'd get a combined filter of (NOT abc) AND (NOT xyz)

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...