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!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...