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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...