Getting Data In

Lookup row delete

Raghul_S
Engager

Hi,

I've added a new row to an existing lookup file for testing the query and now I need to delete the last couple of rows to retain it to its original form. Is that possible, and if yes, please give me a solution!!!

 

Thanks in advance!

 

Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Read the whole lookup in (inputlookup), remove the unwanted events (with a where command or somesuch), then write the whole lookup (outputlookup append=f)

Get Updates on the Splunk Community!

Leveraging Detections from the Splunk Threat Research Team & Cisco Talos

  Now On Demand  Stay ahead of today’s evolving threats with the combined power of the Splunk Threat Research ...

New in Splunk Observability Cloud: Automated Archiving for Unused Metrics

Automated Archival is a new capability within Metrics Management; which is a robust usage & cost optimization ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...