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!

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...