You seem on the right track with setting Process= to determine origin, although I would set the case statement as | eval process=case(
match(_raw,"Success Message"),"ProcessA",
match(_raw,"Generation completed"),"ProcessB",
isnull(source),"Lookup",
1=1,"Other") If you put this before the stats command, then do the | stats ... by host process BTW, the | fields host will remove everything other than _* and host, so would need to handle allowing process through. Also, not sure that _raw is still valid after the stats, so that won't work. I don't know if that will get you to where you want to
... View more