Splunk Enterprise

What should we do with too many indexes in on-perm?

danielbb
Motivator

There is this common belief that too many indexes cause performance issues. Is it true and what are the recommendations?

Tags (1)
0 Karma

woodcock
Esteemed Legend

What @richgalloway said is true.  Here is my goldilocks rule for enterprise scale: Tens is too few, Thousands is too many, Hundreds is just right.

danielbb
Motivator

Thank you @richgalloway but isn't the real issue the number of buckets and handling them correctly? 
So, is there anything specific about a thousand or so indexes or it's only about the excessive number of buckets? 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Yes, it comes down to buckets.  However, more indexes means more buckets.  Depending on your data volume you may be able to store the same data in fewer indexes and fewer (but larger) buckets.

---
If this reply helps you, Karma would be appreciated.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Too many indexes means Splunk has to keep too many files open at once.  It may also mean searching several files for data rather than only searching a few (or one).

Many sites tend to create a new index for each sourcetype, which can lead to having a lot of indexes.  For more efficient searching, related data (that is, often searched for together) should be in the same index.  Create a new index when

1) New access controls are needed for data

2) Different retention settings are needed for data

3) Data is of such a volume (certain network data, perhaps) that a separate index is warranted

---
If this reply helps you, Karma would be appreciated.
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...