Splunk Search

view default index

trojan_81
Path Finder

How can I view the default index of a user?

In other words, if user runs a search within splunk search app and does not specify an index, how do i view which index he will default at?

Labels (1)
0 Karma
1 Solution

isoutamo
SplunkTrust
SplunkTrust
Hi
In https://docs.splunk.com/Documentation/Splunk/7.3.3/Admin/Authorizeconf is role specific parameter: srchIndexesDefault which define this. If user have several roles or inherited roles then those all must combine.
Maybe this https://community.splunk.com/t5/Splunk-Search/is-there-a-way-to-search-who-has-access-to-an-index/m-... helps to figure out spl query to get this information.
r. Ismo

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Check the user's role.  That role may have one or more default indexes defined.  A search that doesn't specify an index will look in all of the defined default indexes.

---
If this reply helps you, Karma would be appreciated.
0 Karma

isoutamo
SplunkTrust
SplunkTrust
Hi
In https://docs.splunk.com/Documentation/Splunk/7.3.3/Admin/Authorizeconf is role specific parameter: srchIndexesDefault which define this. If user have several roles or inherited roles then those all must combine.
Maybe this https://community.splunk.com/t5/Splunk-Search/is-there-a-way-to-search-who-has-access-to-an-index/m-... helps to figure out spl query to get this information.
r. Ismo
0 Karma
Get Updates on the Splunk Community!

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 ...

Data Management Digest – November 2025

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