All Apps and Add-ons

https://answers.splunk.com/answers/10810/specify-default-index-for-app.html

samuelaikins
New Member

hi,
I need help on how to set my apps searches to a specific index .so users using the apps will not need to specify the index name in their search.
Any suggestions on this will be very much be appreciated.

Sam

Tags (1)
0 Karma

niketn
Legend

@samuelaikins please try the following:

Settings > Access controls > Roles --> Select Specific Role for which default index needs to be set.

Navigate to option Indexes searched by default and select the index which should be searchable by default.

Set the index(es) that searches default to when no index is specified. User with this role can search other indexes using index= (e.g., "index=special_index").

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

p_gurav
Champion

Define your index in default folder i.e customised default indexes.conf

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

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

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...