Awstats logformat typo?

Posted by user66700 on Server Fault See other posts from Server Fault or by user66700
Published on 2011-01-15T11:57:17Z Indexed on 2011/01/15 12:55 UTC
Read the original article Hit count: 240

Filed under:
|

I've been through the awstats docs for a while now, it just seems to be failing with the Logformat,

http://pastebin.com/raw.php?i=J1Ecfu4c

I'm using the following in awstats,

LogFormat = "%host - - %host_r %time1 %methodurl %code %bytesd %refererquot %uaquot %otherquot"

(from nginx)

 log_format   main
'$remote_addr - $remote_user [$time_local] $request '
    '"$status" $body_bytes_sent "$http_referer" '
    '"$http_user_agent" "$http_x_forwarded_for"';
    access_log  logs/access.log main;

sample hits:  http://pastebin.com/raw.php?i=qD9PKN52  

© Server Fault or respective owner

Related posts about nginx

Related posts about awstats