I was following a similar issue by another user. I was attempting to follow through the example. But it failed for a some reason

Awstats logformat typo?

Using Nginx I'm using the following:

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;

From awstats:

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

Here is a sample access log: http://pastebin.com/raw.php?i=JDQpuhKR

I'm guessing its the ::ffff: that is causing the issue? Not even sure what it is. What is the correct LogFormat I should be using based upon my access.log?

link|improve this question
1  
"But it failed for some reason"... Failed how? Did awstat suddenly quit? Did your keyboard catch fire? Did it cause an earthquake? Has it started raining cats and dogs outside? – Mathias R. Jessen Dec 30 '11 at 15:22
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.