Knowledge Management

Disable kvstore replication to indexers

Lucas_K
Motivator

According to this post kvstores get replicated to indexers.

Is there a way to disable or specifically control this behaviour.

We have a kvstore > 100GB that doesn't need to be replicated. And I believe this may be causing performance issues.

0 Karma

lcrielaa
Communicator

Can't you simply disable the KVStore on the indexers via server.conf?

[kvstore]
disabled = true|false
* Set to true to disable the KV Store process on the current server. To
  completely disable KV Store in a deployment with search head clustering or
  search head pooling, you must also disable KV Store on each individual
  server.
* Defaults to false.
0 Karma

TStrauch
Communicator

Hi Lucas,

no worry. Your kvstore is not automatically replicated to your indexer.

You have a parameter in collections.conf called "replicate" its false by default. By switching it to "true" your kvstore collection gets replicated to the indexers.

So no worry about your 100GB + kvstore.

regards

Lucas_K
Motivator

Ahh so that post is actually wrong! Thanks!

0 Karma

s2_splunk
Splunk Employee
Splunk Employee

Fair enough. My response you refer to could have been a bit more nuanced.
Pre 6.3, there was no capability to replicate KV-Store based lookups to the search peers, which prevented you from using those lookups in searches, because they would not have been available to the indexers similar to what search bundle replication does.
This limitation was removed in 6.3, i.e. we provided the controls to replicate those lookups that are needed by search peers to fulfill search requests.
Yes, you can disable that for lookups you only need to have available on the search heads.
Sorry for any confusion this may have caused you.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...