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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Guided Onboarding with Auto-schema Is Now Generally Available

  We are excited to announce the General Availability of Guided Onboarding with Auto-Schematization ...

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...

Deep Dive: Optimizing Telemetry Pipelines in Splunk Observability Cloud

In this session, we will peel back the layers of Splunk Observability Cloud’s cost-optimization features. ...