Feb 4 10:32:57 master sshd[2070]: pam_unix(sshd:session): session opened for user root by (uid=0)
Feb 4 10:32:59 master sshd[2070]: 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[2070]: 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?
