Splunk Enterprise Security

KV Store - audit trail?

driekhof
Path Finder

We're writing an app that allows users to input some asset lookup data into a KV Store. Occasionally these KV Store records need to be modified or deleted. We're thinking of adding a status field (Active, Inactive, Deleted) and always creating a new KV Store record when these things occur.

Any examples around of doing something like this with a KV Store? Is there a way to allow users to modify a custom status field but not modify any other part of the record and not delete a record?

Know of a better way to do this?

0 Karma

bthaker_splunk
Splunk Employee
Splunk Employee

Have you tried this: Use the REST API to manage KV Store collections and data:
https://dev.splunk.com/enterprise/docs/developapps/kvstore/usetherestapitomanagekv/

0 Karma

starcher
Influencer

No there isn’t. Kvstore is a lookup table not a database. You can either read only or modify.

0 Karma

driekhof
Path Finder

I think it actually is a DB under the covers (Mongo).

Get Updates on the Splunk Community!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...