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
Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...