Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Splunk Developer's Guide, Second Edition

You're reading from   Splunk Developer's Guide, Second Edition Learn the A to Z of building excellent Splunk applications with the latest techniques using this comprehensive guide

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher
ISBN-13 9781785882371
Length 190 pages
Edition 2nd Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Kyle Smith Kyle Smith
Author Profile Icon Kyle Smith
Kyle Smith
Marco Scala Marco Scala
Author Profile Icon Marco Scala
Marco Scala
Arrow right icon
View More author details
Toc

The App Key Value Store

The App Key Value Store (KV Store) is new in Splunk 6.2. Think of them as lookups that are stored in memory. The actual storage is done in a Mongo database that is run by the Splunk process. The KV Store is very useful for storing state data and fills a gap that existed in earlier versions of Splunk. State data is data that defines what the current condition of something is. For example, we would like to know what the most recent memory and CPU usages are for a system. You could write this data to a typical lookup file, but by using the KV Store, you can get the ability to interface with the store from within your App. The KV Store has a complete REST interface with which to perform CRUD (short for create, read, update, and delete) operations, making it invaluable and extremely flexible. You can perform these CRUD operations directly from the Splunk search language, much like a typical lookup.

When would you use the KV Store?

Well, there are quite a few instances where...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image