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!

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 ...