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!

Observability | How to Think About Instrumentation Overhead (White Paper)

Novice observability practitioners are often overly obsessed with performance. They might approach ...

Cloud Platform | Get Resiliency in the Cloud Event (Register Now!)

IDC Report: Enterprises Gain Higher Efficiency and Resiliency With Migration to Cloud  Today many enterprises ...

The Great Resilience Quest: 10th Leaderboard Update

The tenth leaderboard update (11.23-12.05) for The Great Resilience Quest is out >> As our brave ...