Thank you for following up. The first search that creates the csv lookup file is similar to what I have below. It creates the csv after Output results to lookup. File8 and File9 are values not expected that were added. index=log source="/logs/file_tracking.log" (AccountName IN("Account1") AND Filename IN (("File1*","File2*","File3*","File4*","File5*","File6*","File7*”, “File8*”, “File9*")) | table AccountName, Filename The 2nd search is similar to: index=log source="/logs/file_tracking.log" (AccountName IN("Account1") AND Filename IN (("File1*","File2*","File3*","File4*","File5*","File6*","File7*”)) | stats count BY AccountName Filename | append [ | inputlookup Filenames.csv | eval count=0 | fields AccountName Filename count ] | stats sum(count) AS total BY AccountName Filename | where total=0 They both return the same exact results (28) but the 2nd search has a 3rd column that shows a total of 0
... View more