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!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...