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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...