How to see the %logname parameter in AWStats

LynneJK
2010-10-22
2012-10-11
  • LynneJK
    LynneJK
    2010-10-22

    Hello,

    In our intranet logfile is the actual name of a person in our company who has
    accessed our intranet website. I believe I have the log file format correct
    however I cannot work out where or how the value is displayed in AWStats? If I
    can gather the statistics for this field then where do I see them in my
    AWStats? is there an extra plug-in I need?

    thanks in advance
    Lynne

    LogFormat= "%host %other %logname %time1 %methodurl %code %bytesd %refererquot
    %uaquot %otherquot"

    10.99.74.146 - Fred Smith "GET /Portlet/5_KONO8B1A00OOE0IOABFC7I1GC7/Web_Conte
    nt_Viewer?PortletPID=5_KONO8B1A00OOE0IOABFC7I1GC7&PortletMode=View&PortletStat
    e=Normal HTTP/1.1" 200 -1 "http://ozone.eu.omron.com/Page/ozone2/home/?id=6_K
    ONO8B1A006G70IGQ3MDBG05S2
    "; "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
    AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3" "utmz=
    70129678.1284915753.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);ozone2Co
    okie=T0F6ZXZlZG8=;WT_FPC=id=195.33.140.5-3286553232.30102908:lv=1285919549336:
    ss=1285919549336;
    utma=70129678.618993041.1284915753.1284915753.1284915753.1"

     
  • Jean-Luc
    Jean-Luc
    2010-10-22

    Hi,

    You need to enable the authenticated users section with

    ShowAuthenticatedUsers=PHBL
    

    This is the standard solution.

    Alternately, if the IP address of the visitor of the intranet is not important
    to you, you can use %host for the field containing the name of the visitor.

    Note that the %logname field should not contain spaces. Fred Smith (with a
    space character between Fred and Smith is not a valid %logname field. A
    %lognamequot field is also available (if the log file contains "Fred Smith",
    between quotes).

    Jean-Luc, InternetOfficer AWStats
    Support

     
  • LynneJK
    LynneJK
    2010-10-27

    Thanks Jean-Luc that has indeed fixed it !

     
  • LynneJK
    LynneJK
    2010-10-27

    By the way, I found an "undocumented feature". The value %virtualnamequot is
    NOT in the default config file! I only found it mentioned in the change log of
    version 6.7 and I have the current version 6.95. It was the parameter I needed
    to get my stats working for multiple websites.