I have created a search to populate a lookup periodically.
index x sourcetype=y | outputlookup abc.csv append=true
Lookup is like
EventId, Start, End
000,1,2
111,3,5
I do not want duplicate rows for EventId. My current logic is not taking care of that.
What can I add to the search so that every time a new row gets added, Splunk should only update the existing and not add a new one if event id already exists
... View more