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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...