Need some help. I can't wrap my head around this.
Need to lookup a csv which contains clientip, and compare against my results with IP also in field clientip to show in a new column as matching or not matching
| index=foo ....
[|inputlookup IPlist.csv | fields clientip | rename clientip AS knownIP] | eval isMatching = if(clientip == knownIP, "matching", "notmatch") | table clientip, field x, field y, field z, isMatching
Am I way off base here? Should I be looking at other commands? I get zero results with this. Without it, my main search runs fine and many events with IPs show.
Much appreciated
... View more