Hi! Try it like this using join commands:
| inputlookup userlist.csv | table username,fullname
| join username type=left [search index=... | stats count by username,workstation_name | sort -count | dedup username | table username,workstation_name]
| join workstation_name type=left [search index=... | dedup workstation_name,ip_addr | table workstation_name,ip_addr]
| table username,fullname,workstation_name,ip_addr
With "| stats count by username,workstation_name | sort -count | dedup username" you will get the user's most-used workstation.
With "| dedup workstation_name,ip_addr" you will get the most recent IP address for each workstation.
... View more