I was curious if anyone has sorted incoming logs captured by Rsyslog by hostname and time stamp in the log.
Right now I have Rsyslog sort messages by the hostname moving them to appropriate folders and then Logrotate set to daily. My concern is if logs come in after logrotation that have a timestamp for the previous day. Since not all the servers times are in sync I figured this could cause some confusion if I ever need to search the logs and the file name is not 100% the correct date for the logs inside.
Any help?
Cheers