I installed AWStat today, I checked the procedure and no problem. But in this procedure, we have to change the log format, the "old" log are not more usable to generate stat. Then I switched back to the original parameter of IIS log :
Your format is not compatible with AWStats. AWStats requires a %bytesd field (called sc-bytes by IIS). This field is the number of data bytes sent by the server to the client in each hit.
You can try to use the following LogFormat on your existing log file:
In the HTML file I see only information from today and not from the begin of the month (web site started in january). Is it possible to launch a "full scan" for the directory log of this web site ?
Have a look at logresolvemerge.pl. It can be used to merge all your log files. Don't forget to remove the existing AWStats database file for January (with today's data) before you start it.
Your format is not compatible with AWStats. AWStats requires a %bytesd field (called sc-bytes by IIS). This field is the number of data bytes sent by the server to the client in each hit.
Does your "time" field include the date too ?
Anyway, you need to modify the file to make it compatible before you pass it to AWStats. I believe two changes might be required:
AWStats cannot work on your existing logs, but you can edit your existing logs to make them compatible. For example, to simulate an sc-bytes field, you should add " 100" at the end of each line. To do that, use a utility like sed. More info about sed for Windows is available from sed . . . the stream editor.
It Didn't give me a error while using awstats.pl but there is no data that i see in the report and on the COnsole i got this message
Searching new records from beginning of log file… Jumped lines in file: 0 Parsed lines in file: 63992 Found 1 dropped records, Found 63991 corrupted records, Found 0 old records, Found 0 new qualified records.
The problem is that your log file does not include the %bytesd field (sc-bytes in IIS terminology). This field is mandatory for AWStats. The best thing to do is to add this field to your IIS log format.
For your existing log files, you can try this:
LogFormat = "%time2 %host %bytesd %other %other %method %url %query %code %ua"As this uses a dummy %bytesd , AWStats data related to bandwidth and number of bytes will be wrong, but all other information should be valid.