(1) index=blah Product IN (Cuteftp,Filezilla) (2) | rex field=Image "(?<values_Image>[^\\\\]+$)" (3) | lookup test.csv Image as values_Image OUTPUT Image (4) | eval match=if(values_Image == Image, "yes", "no") | table _time Product Company Description ImageLoaded Image values_Image match (1) I am searching index=blah where "Product" = Cuteftp or Filezilla (2) From my results I am removing everything before the last backslash, and the new field is going to be called "values_Image" (3) I am checking the "Image" column in the lookup file (test.csv) to see if it matches "values_Image" from my Splunk results (4) If there is a match, then I see "yes" in the match column in Splunk. If there is no match I see a "no" The problem I have: When match =yes the Image field in Splunk is populated with the value from the Image field in the lookup file (test.csv) . This is good When match=no the Image field in Splunk is not populated with the value from the the Image field in the lookup file (test.csv) . This is my problem
... View more