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!

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...

Explore the Latest Educational Offerings from Splunk (November Releases)

At Splunk Education, we are committed to providing a robust learning experience for all users, regardless of ...

New This Month in Splunk Observability Cloud - Metrics Usage Analytics, Enhanced K8s ...

The latest enhancements across the Splunk Observability portfolio deliver greater flexibility, better data and ...