Splunk Search

Is it better to only make searchable indexes available via the Selected search indexes option rather than using Restrict search terms?

jaho_splunk
Engager

If I leave the Restrict search terms option empty and only make searchable indexes available via the Selected search indexes option, is this more efficient than using the Restrict search terms option to name the indexes they may search? If the client is allowed to search the entire index, leaving Restrict search terms empty does not negatively affect their search / search time does it?

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

If you want to restrict a user to a set of indexes, use srchIndexesAllowed.
If you have to restrict a user based on other criteria, use srchFilter.
http://docs.splunk.com/Documentation/Splunk/6.4.0/Admin/authorizeconf#.5Brole_.3CroleName.3E.5D

The performance of srchFilter = index=foo will be fine, but it's really ugly and pointless.

0 Karma
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...