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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...