Security

User access to _internal

L_Petch
Path Finder

Hello,

 

I need to give certain users access to _internal but only allow them to see certain hosts. I planned to do this by adding a new role, giving them access to the index and then limiting them to the hosts in the search filter section. This works however it restricts access in all other indexes they have access to, to the same search filter even though this isn't inherited and access granted by a separate role.

 

Is there an easier/better way of doing this?

Labels (1)
1 Solution

gcusello
SplunkTrust
SplunkTrust

hi @L_Petch ,

use as filter:

index=* OR (index=_internal host IN (spl001,spl002))

Ciao.

Giuseppe

View solution in original post

L_Petch
Path Finder

Hi @gcusello 

How does this stop the filter from stopping access to all the other indexers the user has access to? As soon as I add the filter " host::spl001 OR host::spl002 " for example it will apply this restriction to all indexes not jus the _internal I want it to wont it?

0 Karma

gcusello
SplunkTrust
SplunkTrust

hi @L_Petch ,

use as filter:

index=* OR (index=_internal host IN (spl001,spl002))

Ciao.

Giuseppe

L_Petch
Path Finder

@gcusello thanks that is exactly what I needed 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @L_Petch ,

to create the new role don't use Inheritation but clone the role from another one and modify the search filters.

Ciao.

Giuseppe

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...