Splunk Dev

How do you change the index to something else than 'main' that the 'Search app' is using

nelis249
Observer

Using Splunk 6.5.

Right when you login, you land on the 'Search app'. On this screen there's a section called 'What to Search' and lists some info such as hosts, sources, and sourcetypes. This information is all being pulled from the index=main. I've looked around and I'm not seeing any information on how to actually change it from that index to something like index=mycustomindex. That way when I login I would be presented with data and counts from my custom index versus the 'main' index which I'm not really using.

I've found articles on changing the default index with defaultDatabase = but that doesn't seem to work. Maybe I'm updating the wrong .conf file. I've even search the xml files replacing 'main' with 'mycustomindex' and it still doesn't change the pages behavior.

Has anyone else figured this out?

Tags (1)
0 Karma

esix_splunk
Splunk Employee
Splunk Employee

That info is pulled from metadata (see the metadata command) and is based on the default searched indexes for the user that loads the page. You can adjust this via the user's roles and group memberships here : Manager » Access controls » Roles » Role Name » Default indexes.

Update that for the indexes, or add all etc...

0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...