This log format is not compatible with AWStats. The date-time field is not in a format recognized by AWStats and several mandatory fileds are missing (URL, status code, number of bytes,…).
I also have the files in another format…in XML, perhaps it is possible to use this as an input? I dont know exactly if it matches the ones that AWSTAT accepts…its a log file from oracle…
I have tried to create this test data, but am getting an error when following the manual to do:
perl awstats.pl -config=mysite -update
The error says: to use %method or %methodurl in the logformat string and can also be settings of the conf file. I used it the way in the same way you put it here in the forum.
There is no need to use nmake or Apache to run AWStats under Windows. awstats.pl is a Perl script that you can run from the command line. You can use it to read the log file and generate the AWStats data files, then you use it to generate the static HTML reports that you will be able to view through a browser.
Hello, it is working. But now the reports i am getting, are not what i need i have some ip adresses and need it to count them, does awstat count ip hosts? In my log file i have a date attached to a ip adress, all other data is random.