I've just configured AWStats for some mail servers that are logging to a
central syslog server. I have the following line for log file configuration:
LogFile="gzip -dc /var/log/syslog-ng/%YYYY-24/%MM-24/%DD-24/<ip address="">/incoming.gz | perl /usr/local/awstats/tools/maillogconvert.pl
standard |"
Due to the syslog configuration, each log daily log file is recorded in
different directory. I'd like to process my old logs if possible. Is there any
way I can specify a date to be processed when launching awstats? eg. --proces-
date=<date> ? I'm thinking I could write a script to call awstats once for
each day to be processed, updating the "Logfile=" each time, is there any
other way to process my old logs?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've just configured AWStats for some mail servers that are logging to a
central syslog server. I have the following line for log file configuration:
LogFile="gzip -dc /var/log/syslog-ng/%YYYY-24/%MM-24/%DD-24/<ip address="">/incoming.gz | perl /usr/local/awstats/tools/maillogconvert.pl
standard |"
Due to the syslog configuration, each log daily log file is recorded in
different directory. I'd like to process my old logs if possible. Is there any
way I can specify a date to be processed when launching awstats? eg. --proces-
date=<date> ? I'm thinking I could write a script to call awstats once for
each day to be processed, updating the "Logfile=" each time, is there any
other way to process my old logs?