Security

How can I restrict user access to write to an index?

mkolkebeck
Path Finder

Use of the collect command, or enabling summary indexing for a report, this feature allows a user/role to write to any index that can be searched.

Are there any options to restrict a role's access to index such that it is read-only, or alternatively is it possible to remove the collect command and summary indexing features from a role's capabilities?

1 Solution

micahkemp
Champion

It appears that there is no way for a user to have read-only access to an index while also allowing said search head to write to the same index. You could potentially work around this if you had one search head for users to perform searches (with read-only for that index enabled) and another search head to perform summary indexing (with read/write allowed to the index).

Reference: https://answers.splunk.com/answers/390225/how-to-prevent-users-from-writing-to-indexes.html

View solution in original post

0 Karma

micahkemp
Champion

It appears that there is no way for a user to have read-only access to an index while also allowing said search head to write to the same index. You could potentially work around this if you had one search head for users to perform searches (with read-only for that index enabled) and another search head to perform summary indexing (with read/write allowed to the index).

Reference: https://answers.splunk.com/answers/390225/how-to-prevent-users-from-writing-to-indexes.html

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...