Splunk Dev

KV Store Help - Best approach to schedule deletion of records based on a flag set

rkadam
New Member

We have a KV store with below fields:
_key (mapped with alert_id)
Splunk_ID
Can_Delete (a flag with Yes/No)

KV Store records are being added/updated with schedule searches. Now our requirement is to delete all records from KV store whose Can_Delete flag is set to "Yes", on regular basis.

What is the best way to achieve this?

Tags (1)
0 Karma

ashmaind
Explorer

Hello, You can schedule a search with filter condition Can_Delete="Yes" followed by | outputlookup command . Hope you are clear.

0 Karma
Get Updates on the Splunk Community!

Now Available: Cisco Talos Threat Intelligence Integrations for Splunk Security Cloud ...

At .conf24, we shared that we were in the process of integrating Cisco Talos threat intelligence into Splunk ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Easily Improve Agent Saturation with the Splunk Add-on for OpenTelemetry Collector

Agent Saturation What and Whys In application performance monitoring, saturation is defined as the total load ...