Getting Data In

Required suggestion for data deletion and Update on splunk index?

ASorathiya1986
Loves-to-Learn Everything
Can you please suggest the following?
 
We are looking to delete/update particular indexed data from the splunk programmatically via python add-on code during data import to the Splunk.
Labels (1)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

There is no "deletion" as such from splunk indexes. The "| delete" command (which requires explicitly added capability for a role) only marks the event as "hidden" within an index but it is still contained in the index files on the indexers (which might not sit well with your compliance team). And there is no "update". Once the data is indexed, it stays in the index untill it rolls out to frozen.

That's why proper onboarding process is important - typically you'd ingest your data first into a test index with very short retention period. Only after confirming that your source is properly configured you switch the data to the production index.

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,  ...