Splunk Search

Outputlookup to override values of a single column in lookup.csv

mounicachinni
New Member

I have a search which returns a table with columns name,value,state - I have a lookup file (lookup.csv) with columns name,ID,num,state. I want to read state from my table and override(Not append) that value(Only state) in the lookup file which has the matching name as the table. Could some one help me with it.

my search | append [inputlookup lookup.csv | lookup lookup.csv name OUTPUT status | outputlookup append=false lookup.csv ]

But this is just appending the columns i want to override

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Developer Program!

Hey Splunk community!  We are excited to announce that Splunk is launching the Splunk Developer Program in ...

Splunkbase Year in Review 2024

Reflecting on 2024, it’s clear that innovation and collaboration have defined the journey for Splunk ...

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...