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!

Index This | When is October more than just the tenth month?

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

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...