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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...