awstats and log format

Problems with the Linux version of XAMPP, questions, comments, and anything related.

awstats and log format

Postby mulanee » 08. February 2007 22:20

Hi there,

I try to setup my awstats.conf to read the datas concerning resolution , browser ...of the access-log.

Awstats works with logformat=1 but doesn't with other values.

With logformat=1 , I get no browser , resolution informations.

Is there a special tuning on the logformat line?
mulanee
 
Posts: 9
Joined: 10. March 2006 09:13

Postby Wiedmann » 08. February 2007 22:29

I get no browser , resolution informations.

These informations are not stored in the normal Apache logs.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby mulanee » 08. February 2007 22:40

Yes , I agree.
Nevertheless awstats allows it by installing a .js file somewher.
I got information in the log file.
Code: Select all
192.168.0.1 - - [08/Feb/2007:22:34:27 +0100] "GET /toto.php?url=http%3A//ebgy.ath.cx/&pagename=&id=1&res=1024x768&col=32&h=22&m=34&s=27&flash=1&director=0&quicktime=1&realplayer=1&pdf=1&windowsmedia=1&java=1&ref=http%3A//intranet/admin/admin.html HTTP/1.1" 200 43


I just need to put the good format in Logformat
mulanee
 
Posts: 9
Joined: 10. March 2006 09:13

Postby Wiedmann » 08. February 2007 23:05

Well, I don't know how AWStats exacty get this informations from the JS.

One thing I can see:
With logformat=1

You have configured AWStats, that you have a "combined log format".

Code: Select all
192.168.0.1 - - [08/Feb/2007:22:34:27 +0100] "GET /toto.php?url=http%3A//ebgy.ath.cx/&pagename=&id=1&res=1024x768&col=32&h=22&m=34&s=27&flash=1&director=0&quicktime=1&realplayer=1&pdf=1&windowsmedia=1&java=1&ref=http%3A//intranet/admin/admin.html HTTP/1.1" 200 43

But this is a "common log format".
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby mulanee » 11. February 2007 09:15

I assume , that it's a awstats issue , not a lampp one.
mulanee
 
Posts: 9
Joined: 10. March 2006 09:13


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests