Hi @MM0071 , let me understand, you want to filter the results of the main search using the first lookup, already filtered suing the second one, is it correct? If this is your requirement, my first hint is to run a search the filters the raws of the first lookup using the second on so you have to use only one lookup. Anyway, if you want to use both the lookups in the same search, you can use your search and it should work fine or use the second lookup in the first lookup subsearch: index=netlogs [| inputlookup baddomains.csv | search NOT [| inputlookup good_domains.csv | fields domain] | eval url = "*.domain."*" | fields url] or something similar. Ciao. Giuseppe
... View more