Splunk Enterprise

How to hide index data from users searches

rayar
Contributor

Hi

I would like to make specific index data  invisible for all searches but not to actually delete it from the indexer and to keep all data integrations active 

is it possible  ? 

should I do with Role configuration  (Restrict search terms )   or there some other way   ?

If is am using role configuration , will the user see the data if he runs index=*   ?

thanks 

Labels (2)
0 Karma
1 Solution

scelikok
SplunkTrust
SplunkTrust

So, you can use Search Restriction like below;

index!=sensitive_index

It will filter all data from "sensitive_index" even on index=* searches.

If this reply helps you an upvote and "Accept as Solution" is appreciated.

View solution in original post

0 Karma

scelikok
SplunkTrust
SplunkTrust

So, you can use Search Restriction like below;

index!=sensitive_index

It will filter all data from "sensitive_index" even on index=* searches.

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

rayar
Contributor

Hi

Currently we are using as below  (All non-internal indexes  marked )

we don't want t change it since the indexes list is dynamic 

rayar_0-1609150764261.png

what you would suggest   ?

0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @rayar,

The best and safest way to restrict an index from user searches is specify searchable indexes from roles. You can find details in below document.

https://docs.splunk.com/Documentation/Splunk/8.1.1/Security/Addandeditroles#Specify_searchable_index... 

 

If this reply helps you an upvote is appreciated.

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma
Get Updates on the Splunk Community!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...