Getting Data In

Splunk Indexer as Virtual Machine - Best practices?

muebel
SplunkTrust
SplunkTrust

Has anybody implemented a distributed Splunk Environment using Virtual Machines from top to bottom?

This seems to be hardly an issue for most of the components, but the Indexer seems to generate the most worry. Are there any resources outlining any unique configuration that would make a virtual Indexer perform better?

s2_splunk
Splunk Employee
Splunk Employee

Most critical aspects of a successful VM deployment:
- vCPU reservation of at least 8 cores, 12 is better
- vRAM reservation of at least 12GB
- eager-zero provisioned disk providing at least 800IOPS concurrently per indexer

As long as you don't oversubscribe and configure following the recommendations in the TechBrief, an indexer can work well in a virtual environment. Did I mention resource reservations?

If your VM hosts are oversubscribed, you don't reserve resources and you are ending up with high CPU Ready counts; or if your underlying disk is not performing at the recommended rates, things will probably not live up to your expectations.

jayannah
Builder
0 Karma

trsavela
Path Finder

We started off with our indexers as VM's. It worked OK in the beginning, as we moved on it turned into a bottle neck. So we ended up buying hardware for the indexers. Our search heads run fine on a VM.

0 Karma

tzeimann
Engager
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 ...