Feb 4 10:32:57 master sshd: pam_unix(sshd:session): session opened for user root by (uid=0) Feb 4 10:32:59 master sshd: Received disconnect from 192.168.0.107: 11: disconnected by user
this is some of my system logs what i want is i need logs in format like below
Feb 04 2013 10:32:57 192.168.10.10 :sshd: pam_unix(sshd:session): session opened for user root by (uid=0)
the changes are in bold. i need bold format.
also if we are a server machine and if we are fetching logs from 2 clients then how to store that logs in separately that is something like client1 logs in clientone dir and clienttwo logs in client2 dir by using rsyslog.conf is this possible