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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...