Try this,
Populate Appid search,
| inputlookup abc.csv |dedup appid,appname | sort appid,appname | eval applabel=appid + "-" + appname
Populate Host based on Appid search, [ Assuming you have ";" as your delimiter in host field ]
| inputlookup abc.csv | eval host=split(host,";") | mvexpand host | search appid=$appid$ | stats count by host | fields host
Hope this will help you,
Cheers!
... View more