Security

How can we find out who has access to a certain index?

danielbb
Motivator

We would like to find out who has access to a certain index. How can we do that?

Labels (1)
Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

To find roles that access index 'foo', look for srchIndexesAllowed = foo or srchIndexesAllowed = * in your authorize.conf files. Btool can help.

splunk btool --debug authorize list | grep 'srchIndexesAllowed\s*=.*(\*|foo)'
---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

To find roles that access index 'foo', look for srchIndexesAllowed = foo or srchIndexesAllowed = * in your authorize.conf files. Btool can help.

splunk btool --debug authorize list | grep 'srchIndexesAllowed\s*=.*(\*|foo)'
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...