First step will be to take the data in your lookup and make sure you've defined it as a wildcard lookup. You can do that by creating a Lookup in the Splunk Web UI, specifying the csv as the Lookup file and then putting this into the field Match type: WILDCARD(Address), WILDCARD(UserName), WILDCARD(Email), WILDCARD(Message) . Let's say you called the lookup get_type , so that I can refer to it below.
Next, you'll use that lookup in your search. You'll do that like this:
your base search that gives you the first table above
| lookup get_type Address, UserName, Email, Message OUTPUT Type
Then you'll fill in the Type field for events that had no matches:
| fillnull value="Other" Type
... View more