The necessary code changes from Amazon’s Tutorial on using AWStats with S3 Logs take place at line 17,764 with version 7.0 and not 10,657.
The hint? Just do a search for
# HTTP request. Keep only GET, POST, HEAD for any version of AWStats.
Of note, as of the published date AWStats 7.0 does not count the files viewed correctly. I’m not sure why.