-   Linux - Software (
-   -   AWStats Help Needed (

mattbeekler 10-27-2003 04:55 PM

AWStats Help Needed
Im still king of a newbie at linux, I've been running a simple webserver with a few virtual domains and I am now trying to setup AWStats.

My main problem lies within my log format i belive, but I am not sure how to make changes. I am just using the GUI that comes with RedHat 9.0, I do not know if this is the best thing to be using but I am trying. I run the program and I get this returned,

Update for config "./"
With data in log file "/var/log/httpd/zmcs_access_log"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
AWStats did not found any valid log lines that match your LogFormat parameter, in the 50th first non commented lines read of your log.
Your log file /var/log/httpd/zmcs_access_log must have a bad format or LogFormat parameter setup does not match this format.
Your AWStats LogFormat parameter is:
This means each line in your web server log file need to have "combined log format" like this: - - [10/Jan/2001:02:14:14 +0200] "GET / HTTP/1.1" 200 1234 "" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
And this is a sample of records AWStats found in your log file (the record number 50 in your log): - - [26/Oct/2003:04:21:08 -0600] "GET /hlstatsimg//weapons/cstrike/deagle.gif HTTP/1.1" 200 444
Setup ('./' file, web server or permissions) may be wrong.
See AWStats documentation in 'docs' directory for informations on how to setup awstats.

How can i edit my file to accept the type of log format that my webserver is outputting?

Any Help is greatly appreciated

Thanks, Matt Beekler

All times are GMT -5. The time now is 11:05 PM.