Splunk Dev

How to update KVStore without utilizing external JS files, and instead have it embedded into the client side dashboard?

drubench29
New Member

Hi,

Is there a way to update KVStore without utilizing external JS files, and instead have it embedded into the client side dashboard?  We want to avoid an extra step of waiting for an admin to deploy javascript into our prod environment.

Labels (1)
Tags (1)
0 Karma

anilchaithu
Builder

@drubench29 

what do you mean by update? Do you want to update a record? Do you want add a new record?

you can always use a saved search & outputlookup to add/update (upsert) records to the the kvstore. 

saved search:

base search ... | eval _key="key as in your kvstore" | outputlookup append=t  "collection name"

0 Karma
Get Updates on the Splunk Community!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...