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!

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...