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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...