Knowledge Management

Can I use kvstore as a web application backend?

jedatt01
Builder

Would it makes sense to use a kvstore collection as a backend for a multi-user web applicaiton? It seems like you could easily implement a front end framework such as Angularjs and use the REST API or Splunkjs to manage your kvstore collection. How would this be different than using full blown Mongodb backend?

skoelpin
SplunkTrust
SplunkTrust

Why use the KV store as a backend rather than native Splunk?

0 Karma

jedatt01
Builder

I need to perform CRUD operations from user form input

0 Karma

skoelpin
SplunkTrust
SplunkTrust

Can you give us an example of what your trying to do? I think you may be climbing the wrong ladder here

0 Karma

jedatt01
Builder

For example, if i'm creating an excel like application front end that allows multiple users to add/edit/delete rows of data from a table. That table could be a kvstore and I would send the update operations to the kvstore collection via rest call or splunk search manager.

So, i'm trying to determine if I am climbing the wrong ladder and should use something different for a back-end such as postgres or mongodb.

0 Karma

davpx
Communicator

Hey jedatt01, I'm good friends with @skoelpin and couldn't help but snoop.

@skoelpin, Splunk's immutable way of indexing kind of breaks this use case by knocking the D off CRUD. There are ways of hiding data in an index but I think jedatt01 is on the right track with his idea to use the KV store. I've seen it done for case management systems within Splunk using the KV store.

@jedatt01, if you're looking for a short answer to is it possible, then yes. How is it different? in my experience when I think of Splunk's KV store, the word "fragile" comes to mind. Be sure to back it up often.

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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...