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!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...