Splunk Search

How do I configure user role permissions to restrict a user to only search a certain index?

vad34
Path Finder

Hello All,

I have restricted search for each index for each user.
When I try to search with user1, I can see events from index2, and when I try to search with user2, I can see events from index1.
It should be restricted for view user1-index1 and user2-index2.
I restricted it in user role, but still able to see the events.

Can anyone assist pls?
Tnx in advance.

0 Karma
1 Solution

vad34
Path Finder

Hi,
I solved it with restricting the index in authorize.conf in local dir.

View solution in original post

0 Karma

vad34
Path Finder

Hi,
I solved it with restricting the index in authorize.conf in local dir.

0 Karma

rkelch
New Member

Hi Vad34,

We experienced a very similar issue when we were setting up roles in our environment too. In our case, our users were inheriting allowed indexes from the roles that our custom roles were inheriting from. For example, say user1 is a member of the custom IT role, which inherits from the default Users role. Regardless of permissions, users in the IT role always had access to all non-internal indexes. What we had to do was remove all of the allowed indexes from the default Users role so our custom groups that were inheriting from it weren't getting access to all of the indexes as well. We then assigned the indexes in our custom groups, which fixed our issue. Hope this helps!

-R

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