AWS S3 log format for awstats

For S3 logging, awstats needs its LogFormat set up in the following manner:

%other %extra1 %time1 %host %logname %other %method %url %methodurl %code %other %extra2 %bytesd %other %extra3 %refererquot %uaquot %other %other %other %other %other %virtualname %other

Amazon’s documentation is available here