Chris Johnson <[EMAIL PROTECTED]> (Monday, November 17, 2003 8:21 PM):

> I'm stumped and frustrated.  I can't get analog to give me any browser 
> reports other than total hits for all browsers (duh == lines in log 
> file).  I've been using analog for over 4 years on my Apache 1.3 / 
> FreeBSD web server.  For the first couple of years or so, the agent log 
> entries produced browser reports just fine.  Then because of tight disk 
> space and lack of need for information about browsers, I turned the 
> browser reports off.

> Now, a couple years later, we are redeveloping our web site and I'm 
> trying to turn them back on to see what kind of browsers we need to 
> support.  In between, of course, Apache, Analog and FreeBSD have been 
> upgraded a number of releases.  But nothing I can think of doing makes 
> any difference.

One thing you might consider is moving to combined format log files.
It uses less space because you don't have to double-enter the date and
time.



> I've tried letting analog automatically detect the log format -- and it 
> appears to guess correctly.  I've specified the log formats explicitly 
> using both LOGFORMAT and APACHELOGFORMAT directives.  I've used combined 
> logs and separate agent logs.  They all fail the same way.  I've tried 
> several of the recent vintages of Analog.  Same failure.  All other 
> reporting continues to work fine.

> I must be missing something very subtle.  What is it?

> Simplest case below:

> agent.log:
> [17/Nov/2003:14:15:30] Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
> [17/Nov/2003:14:15:43] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
> [17/Nov/2003:14:15:53] Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 
> 5.0; T312461)

> browser.cfg:
> LOGFILE /var/log/httpd-agent.log
> GENERAL OFF
> ALL OFF
> DEBUG ON
> SETTINGS ON
> BROWSERREP ON
> BROWSERSUM ON

> Output: (relevant pieces)
> F: Opening /var/log/httpd-agent.log as logfile
> F:   Detect that it's in browser log format
> F: Closing logfile /var/log/httpd-agent.log
> S: Successful requests: 0
> S: Redirected requests: 0
> S: Failed requests: 0
> S: Requests returning informational status code: 0
> S: Status code not given: 75326
> S: Unwanted lines: 0
> S: Corrupt lines: 0
> S: Earliest entry in logfile:  1/Nov/03:0021
> S: Latest entry in logfile: 17/Nov/03:1416
> analog: Warning R: In Browser Report, turning off empty pie chart
> analog: Warning R: In Browser Summary, turning off empty pie chart


You don't show it here, but you need to have a request file too,
usually access.log, that contains the status codes. If you notice
above Analog tells you that all the lines in the log file are missing
that. If you include both files (or just use the combined format) then
you should get a report.



-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  Digest version: http://lists.isite.net/listgate/analog-help-digest/
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to