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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...