Dashboards & Visualizations

How to clear the kvstore contents at the beginning of the App upgrade?

jabezds
Path Finder

Hi, We are working on developing a second version of the app.

Our use-case is when the App is upgraded we need to clear the existing kvstore contents programmatically. And to NOTE we need to clear this kvstore only at the beginning of the app upgrade.

It will be great if you can share some guidelines on achieving this.

 

 

Labels (3)
Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @jabezds,

kv-store is a lookup, you can upload an empty version of the lookup.

Ciao.

Giuseppe

0 Karma

jabezds
Path Finder

@gcusello  Thanks for your response, is there a programmatic way of uploading an empty  lookup.

Can you please help me with any documents or code.

 

 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @jabezds,

you can use every search without results, ending with "| outputlookup your_lookup.csv"

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...