Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Help with Log Format & Log Type

Developers
Danielle
2012-07-04
2012-10-11
  • Danielle
    Danielle
    2012-07-04

    Hello,

    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:

    199.21.99.124 - - "GET /c275555.r55.cf1.rackcdn.com/ HTTP/1.1" 404 239 "-"
    "Mozilla/5.0 (compatible; YandexBot/3.0;
    +http://yandex.com/bots)" "-"

    100.43.83.140 - - "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.
    Danielle

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