You can create a rule with a filter to match IP addresses or hostnames then write to a log file.
For example:
Create a filter that matches "rtr" and "swi" then an action to write to cisco.log
Create another filter that matches "asa" and then an action to write to asa.log.