Danielle - 2012-07-04


I'm new to setting up awstats, and I have managed to get it up and running
locally on my machine (I'm running it locally on my MacBook). I'm using
awstats to view the stats for my Rackspace cloud files. This means that I have
to download the logs and then process them in awstats.

Currently I have the Log Type set to W (web) but I'm wondering if for this
particular setup, if the Log Type should be F (FTP). The log files that I'm
using look like the following entries: - - "GET /c275555.r55.cf1.rackcdn.com/ HTTP/1.1" 404 239 "-"
"Mozilla/5.0 (compatible; YandexBot/3.0;
+http://yandex.com/bots)" "-" - - "GET /c275555.r55.cf1.rackcdn.com/robots.txt HTTP/1.1" 404
244 "-" "Mozilla/5.0 (compatible; YandexBot/3.0;
+http://yandex.com/bots)" "-"

The other question I have is with the Log Format. Looking at the Log examples
above, can you let me know if I've entered my LogFormat correctly? Most time
when I go to process the logs, I'm getting a lot of 'corrupted records' and
I'm wondering if it's because my Log Format is incorrect.

Thanks for your input.

LogFormat="%host %l %u %time1 %methodurl %code %bytesd %referer %uaquot