|
@@ -313,7 +314,8 @@ LogFile="/pathtosma/sma -O clog -f /pathtosmaconf/sma.conf /pathtomaillog/maillo
LogFormat="%time2 %email %email_r %host %host_r %method %url %code %bytesd" ValidSMTPCodes="1" ShowMenu=1 - ShowMonthDayStats=HB + ShowMonthStats=HB + ShowDaysOfMonthStats=HB ShowDaysOfWeekStats=HB ShowHoursStats=HB ShowDomainsStats=0 @@ -337,6 +339,61 @@ LogFile="/pathtosma/sma -O clog -f /pathtosmaconf/sma.conf /pathtomaillog/maillo Now you can use AWStats as usual (run the update process and read statistics). + +For QMail or Sendmail log files + +1- First, install a Qmail log convertor like Maillogconv to use it +as a pre-processor for AWStats update process (to convert your Qmail log into a readable format): +For this, you can download and copy maillogconv file into same directory +than awstats.pl file. + +2- Then setup AWStats to analyze Maillogconv processed mail log: +Copy config awstats.model.conf file to "awstats.mail.conf". +Modify this new config file: +
+Now you can use AWStats as usual (run the update process and read statistics). + + For Exchange log files If someone can understand the Exchange log format, he can explain it to me at eldy@users.sourceforge.net. Until this server won't log in a clever way, just forget using AWStats or use a more serious @@ -373,7 +430,8 @@ Modify this new config file: LogFormat="%host %other %logname %time1 %methodurl %code %bytesd %uabracket %other %other %other %other %other %other %other %other" LogSeparator="\s+" ShowMenu=1 - ShowMonthDayStats=UHB + ShowMonthStats=UHB + ShowDaysOfMonthStats=HB ShowDaysOfWeekStats=HB ShowHoursStats=HB ShowDomainsStats=HB @@ -463,7 +521,8 @@ Modify this new config file: LogFile="/pathtomediaserver/mediaserverlog" LogFormat="c-ip date time cs-uri-stem c-starttime x-duration c-rate c-status c-playerid c-playerversion c-playerlanguage cs(User-Agent) cs(Referer) c-hostexe c-hostexever c-os c-osversion c-cpu filelength filesize avgbandwidth protocol transport audiocodec videocodec channelURL sc-bytes" ShowMenu=1 - ShowMonthDayStats=UHB + ShowMonthStats=UHB + ShowDaysOfMonthStats=HB ShowDaysOfWeekStats=HB ShowHoursStats=HB ShowDomainsStats=HB |