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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...