[CentOS-mirror] Rsyncd log analysis

Tue Jan 19 13:54:24 UTC 2016
Chuck Anderson <cra at WPI.EDU>

On Tue, Jan 19, 2016 at 09:55:51AM +0100, Giovanni Marzulli wrote:
> Hi,
> 
> Does anyone know a log analysis tool for rsyncd such as AWStats for
> web server?

I use AWStats itself with this config:

LogFile="grep -h ' send ' /var/log/rsyncd.log.7 /var/log/rsyncd.log.6 /var/log/rsyncd.log.5 /var/log/rsyncd.log.4 /var/log/rsyncd.log.3 /var/log/rsyncd.log.2 /var/log/rsyncd.log.1 /var/log/rsyncd.log | awk '{print "0",$0}' | sed -e's/ send / RETR /' -e's/ \[/ /g' -e's/\] / /g' |"
LogType=F
LogFormat="%code %time2 %other %method %other %host %other (%logname) %url %other %bytesd"