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!

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...