LogFormat for GoGrid/EdgeCast

Julio
2010-04-01
2012-10-11
  • Julio

    Julio - 2010-04-01

    Does awstats support GoGrid/EdgeCast? How should be the LogFormat string? This
    a a sample:

    Fields: timestamp time-taken c-ip filesize s-ip s-port sc-status sc-bytes cs-

    method cs-uri-stem - rs-duration rs-bytes c-referrer c-user-agent customer-id
    x-ec_custom-1
    1268457033 53 200.100.199.16 1078 72.21.83.50 80 TCP_MISS/200 1382 GET http:/
    /wac.1dc0.edgecastcdn.net/001DC0/favicon.ico
    - 117 1813 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1;
    en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 (.NET CLR 3.5.30729)" 7616
    "-"

    I tried this, but it did not work:
    LogFormat = "%time4 %other %host %other %virtualname %other %code %other
    %method %url %other %other %bytesd %referer %uaquot %other %other"

     
  • Jean-Luc

    Jean-Luc - 2010-04-01

    Hi,

    The main difficulty I see with your log format is the unusual sc-status.
    AWStats would expect that sc-status is 200 for a valid hit, but your sample
    shows TCP_MISS/200. This demands that this field is edited before it is passed
    to AWStats.

    sc-bytes is usually matched with %bytesd. I must say that I do not know what
    rs-bytes means. Also you should use %refererquot rather than %referer.

    I did not detect any other issue when doing this quick check.

    Jean-Luc, InternetOfficer AWStats
    Support

     
  • Anonymous - 2010-07-27

    I am actually starting to do this for my company, we currently use Edgecast as
    our content distribution provider. We have been looking at moving away from a
    home grown program and going towards AWStats or another web parser program.

    I was wondering if this topic for how to input the fields for edgecast logs
    ever had a solution?

    Fields: timestamp time-taken c-ip filesize s-ip s-port sc-status sc-bytes cs-

    method cs-uri-stem - rs-duration rs-bytes c-referrer c-user-agent customer-id
    x-ec_custom-1

    1279584975 85395 41.141.111.225 27977008 93.184.208.81 80 TCP_HIT/206 3468790
    GET http://download.domain.com/801392/download.origin.domain.com/product/fra/
    911/product.exe
    - 0 419 "http://download.domain.com/product/fra/
    911/
    " "Mozilla/5.0 (Windows; U;
    Windows NT 5.1; fr; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3" 5010 "-"

     
  • Julio

    Julio - 2010-07-28

    I use perl to convert the fields from EdgeCast to W3 format (what works fine
    in AWStats). EdgeCast generates many log files from all POPs. If you join
    these files, it will create unordered timestamp records. AWS requires time
    ordered records, so sort the file content to avoid problems.

     
  • Steve

    Steve - 2011-05-18

    Hi Otuyama,

    I am having the same problems with EdgeCast logs.

    Could you supply me with the script you used to convery the log files?

    Thanks

    Steve

     

Log in to post a comment.