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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

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