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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...