Getting Data In

Is KV Store better than a state CSV file when I need high availability in a Search Head Cluster?

hylam
Contributor

http://blogs.splunk.com/2011/01/11/maintaining-state-of-the-union/
http://dev.splunk.com/view/SP-CAAAEY7

Is KV store better than state CSV when I need high availability? The scheduled search that updates the state CSV may run anywhere within the Search Head Cluster depending on the scheduler and captain's assignment. Are state CSV files replicated in an SHC?

1 Solution

starcher
Influencer

If you send to ouputlookup fronting a csv the cluster will replicate it. But the idea for state is to use KVstore. That is why it was added. KVStore is mongoDB and handles replication on it's own across the cluster members. It also lets you update just the records that need updating more efficiently than doing it with a csv based lookup. http://www.georgestarcher.com/wp-content/uploads/2015/09/conf2015-LookupTalk.pdf

View solution in original post

starcher
Influencer

If you send to ouputlookup fronting a csv the cluster will replicate it. But the idea for state is to use KVstore. That is why it was added. KVStore is mongoDB and handles replication on it's own across the cluster members. It also lets you update just the records that need updating more efficiently than doing it with a csv based lookup. http://www.georgestarcher.com/wp-content/uploads/2015/09/conf2015-LookupTalk.pdf

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...