LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   awstats required fields (https://www.linuxquestions.org/questions/linux-newbie-8/awstats-required-fields-768758/)

jnojr 11-12-2009 04:06 PM

awstats required fields
 
I installed awstats-6.7-1.el5.rf from Dag Wieers' RPMForge. My web server uses a customized log format like:

Quote:

[09/Aug/2009:21:06:45 -0700] 192.168.4.148 TLSv1 DHE-RSA-AES256-SHA "GET /wiki/index.php/ HTTP/1.0" 4069
So, I wrote a LogFormat line for awstats:

Quote:

LogFormat = "%time1 %host %other %other %methodurl %bytesd"
That buys me an error:

Quote:

Error: Your personalized LogFormat does not include all fields required by AWStats (Add %code in your LogFormat string).
Since I cannot retroactively add the return code to millions of lines of logs, I'd prefer to get awstats to not "require" it. How can I do that?


All times are GMT -5. The time now is 03:02 AM.