Splunk Search

Lookup query - What does append=T mean ?

splunker12er
Motivator

What does the below statement mean ?

If 'append' is set to true (false by default), the data from the lookup file is appended to the current set of results rathering than replacing it.

I use lookup like below,

[mysearch] | lookup MyLookup field_1 as field_1 OUTPUTNEW field_2 field_3

So , with reference to field_1 value , i do obtain field_2 , field_3 ..etc

what does that statement say, how append=t works ?

Tags (1)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

The append option is part of inputlookup, not lookup - see http://docs.splunk.com/Documentation/Splunk/6.0/SearchReference/inputlookup for reference.

There it means you can add ... | inputlookup my_lookup append=t to the end of a search pipeline to append the data from the lookup file to the current search results. Without the append you can only use inputlookup as a generating command at the beginning of the pipeline.

martin_mueller
SplunkTrust
SplunkTrust

append=t has nothing to do with the lookup command, but rather with the inputlookup command which does something entirely different.

0 Karma

splunker12er
Motivator

How the field values in my_lookup will be appended to my current search ? I mean ,on what basis or reference ?

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!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...