sonicbum
Guest
|
Posted:
Tue Oct 11, 2005 11:04 pm Post subject:
AWStats config errors for logging Exchange 2003 |
|
|
Using the AWStats FAQ on sf.net, I setup a awstats.mail.conf file to
pull the message tracking logs from an Exchange 2003 SP1 server. Here
is the log format taht
http://awstats.sourceforge.net/docs/awstats_faq.html#MAIL specified:
LogFormat="%time2 %email %email_r %host %host_r %method %url %code
%bytesd"
and Log Seperator of:
LogSeparator=" "
However, when running, it tells me 1/2 are dropped and 1/2 are
corrupted. I've never tried awstats with exchange, so not sure if the
log format line was designed for a eariler version of exchange. Below
is perl output, and a example of the logs. if anyone has a proper
running config, maybe they could post the above values?
perl awstats.pl -update -config=mail
Update for config "./awstats.mail.conf"
With data in log file "z:\20051010.log"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Jumped lines in file: 0
Parsed lines in file: 452019
Found 238327 dropped records,
Found 213692 corrupted records,
Found 0 old records,
Found 0 new qualified records.
#####################################
#####################################
# Message Tracking Log File
# Exchange System Attendant Version 6.5.7226.0
#
Date Time client-ip Client-hostname Partner-Name Server-hostname server-IP Recipient-Address Event-ID MSGID Priority Recipient-Report-Status total-bytes Number-Recipients Origination-Time Encryption service-Version Linked-MSGID Message-Subject Sender-Address
2005-10-10 0:0:24
GMT 10.10.10.10 smtp.company.com - SERVERNAME 10.10.10.10 sentto-12649682-13051-1128902362-username=company.com@returns.groups.yahoo.com 1019 eBybhoiSx00000382@smtp.company.com 0 0 5794 1 2005-10-9
23:59:54 GMT 0 Version: 6.0.3790.1830 - Delivery Status Notification
(Failure) postmaster@company.com -
2005-10-10 0:0:24
GMT - - smtp3.company.com SERVERNAME - sentto-12649682-13051-1128902362-username=company.com@returns.groups.yahoo.com 1031 eBybhoiSx00000382@smtp.company.com 0 0 5733 1 2005-10-9
23:59:54 GMT 0 Version: 6.0.3790.1830 - Delivery Status Notification
(Failure) postmaster@company.com -
2005-10-10 0:0:24
GMT 10.10.10.10 smtp.company.com - SERVERNAME 10.10.10.10 sentto-12649682-13051-1128902362-username=company.com@returns.groups.yahoo.com 1025 eBybhoiSx00000382@smtp.company.com 0 0 5794 1 2005-10-9
23:59:54 GMT 0 Version: 6.0.3790.1830 - Delivery Status Notification
(Failure) postmaster@company.com -
2005-10-10 0:0:24
GMT - - - SERVERNAME - sentto-12649682-13053-1128902385-username=company.com@returns.groups.yahoo.com 1020 HT0cWL0Wu00000383@smtp.company.com 0 0 5791 1 - 0 Version:
6.0.3790.1830 - Delivery Status Notification
(Failure) postmaster@company.com -
|
|