AWstats install - Logformat problem
Posted: Tue Dec 12, 2006 2:51 am
I've installed AWstats, but it wont read my weblogs.
My weblogs are in this format:
195.1.1.1 - - 2006/11/28 00:00:00 JST "GET / HTTP/1.0" 200 3650 "Apache=195.1.1.1.581961164639572527" "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
AWstats will not recognise this because the date format doesnt match $time1, $time2, $time3 or $time4. I am currently trying this logformat:
LogFormat="%host %other %other %time2 %methodurl %code %bytesd %other %refererquot %uaquot"
Can you make your own $time format? I need "yyyy/mm/dd hh:mm:ss" instead of $time2 as you can see.
(Also I dont understand which logformat config variable the "Apache=195.1.1.1.581961164639572527" part belongs to).
My weblogs are in this format:
195.1.1.1 - - 2006/11/28 00:00:00 JST "GET / HTTP/1.0" 200 3650 "Apache=195.1.1.1.581961164639572527" "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
AWstats will not recognise this because the date format doesnt match $time1, $time2, $time3 or $time4. I am currently trying this logformat:
LogFormat="%host %other %other %time2 %methodurl %code %bytesd %other %refererquot %uaquot"
Can you make your own $time format? I need "yyyy/mm/dd hh:mm:ss" instead of $time2 as you can see.
(Also I dont understand which logformat config variable the "Apache=195.1.1.1.581961164639572527" part belongs to).