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!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...