Date: Wed, 26 Jul 2000 15:36:31 -0700 (PDT)
From: Kevin Chiu <kevin@xxxxxxxxxx>
To: Patrick Béart <patrick@xxxxxxxxxxxxxxxxxxx>
cc: Cobalt Support <support@xxxxxxxxxxxxxxx>, ssmith@xxxxxxxxxx
Subject: Re: Site Usage/stats and the Raq3 (w/Analog) - REPOST
Sorry for the late reply. It's hard to mine a email from my full mailbox.
Here I'll try to give you a brief diagnosis of your problem. Because I
am not seeing your machine, this diagnosis is based on my best guesses.
If the log report that the standard configuration generated contains
information only within a 24 hours period, this is likely because the web
traffic of your machine is extremely high. The system simply cannot store
all the log and need to throw away the oldest ones (i.e. log rotate) which
happens to be those just about 24 hours ago. A possible solution to this
is to up the disk quota for that site, so that it can store more logs.
If you want to download the log file and parse it with Analog 4.11, you'll
need some changes to the analog.cfg file because we have Analog 3.11 on
RaQ3s. From the two approaches you described, it looks like the first one
that uses the analog.cfg on RaQ3s is easier to fix. Analog expects all
possible output types to be specified in REPORTORDER and gives warnings if
any one of those is missing. Therefore, add NnPpZ to the end of the
REPORTORDER line in the analog.cfg file you got from RaQ3 and use it.
If the unknown command warning still exists, you can try to remove the
UNCOMPRESS line.
For more information about REPORTORDER, read
http://www.statslab.cam.ac.uk/~sret1/analog/docs/output.html
If you need further assistance, our technical support team is very happy
to help you. Their email address is support@xxxxxxxxxxx
Kevin Chiu
Principal Engineer
Cobatl Networks
On Tue, 25 Jul 2000, Patrick [iso-8859-1] BÈart wrote:
Kevin:
I got your Email address from the "analog.cfg" file on the
Raq3 that our company is now using. Based upon your authorship of
this file, and our inability to solve a problem by going through Tech
Support or "Professional Services", I have a burning question:
The "Site Usage" information/interface (Web-based UI) on the
Raq3 is not providing much in the way of information about our
clients Web sites. The Raq3 manual claims that we can view site usage
("stats") "hourly", "daily", "weekly", and "monthly". This has proven
not to be the case. At best, we can get only a report for a 24 hour
period, or less.
Analog (3.11) is obviously installed on the Raq3, and log
files can be downloaded from the Web UI, or via FTP. I'd be happy to
download the log files and dump them on top of a local copy of Analog
(I have version 4.1 installed on my workstation). Trouble is that
Analog is "barfing" on the Log File Format.
What is the CORRECT "Log File Format" that I need to change
my workstation version of Analog and the "analog.cfg" file to include?
Stew Smith, at Cobalt Professional Services, claims that it is:
At 12:04 PM -0700 7/5/00, Stew Smith wrote:
>
>LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
>combined
>LogFormat "%h %l %u %t \"%r\" %>s %b" common
>LogFormat "%{Referer}i -> %U" referer
>LogFormat "%{User-agent}i" agent
However, inserting this block of text into my local copy of
the "analog.cgf" file still throws errors and prevents Analog from
outputting the stats information. I keep getting the following
error(s) - using YOUR "analog.cfg" file, downloaded from the Raq3:
*********
Processing...
analog: analog version 4.11/Mac
analog: Warning C: Character Z not used in REPORTORDER:
adding it at end
(For help on all errors and warnings, see docs/errors.html)
analog: Warning C: Character N not used in REPORTORDER:
adding it at end
analog: Warning C: Character n not used in REPORTORDER:
> adding it at end
analog: Warning C: Character p not used in REPORTORDER:
adding it at end
analog: Warning C: Character P not used in REPORTORDER:
adding it at end
analog: Warning C: Unknown configuration command: ignoring it:
UNCOMPRESS *.gz,*.Z "gzip -cd"
Complete!
**********
OR... using the default "analog.cfg" file that was installed
with my local copy of Analog (4.1), which reads (in part):
***********
# Analog.cfg - Configuration file for Analog 4.0
#
# Look at Readme.html file in the Docs folder or goto
# http://www.statslab.cam.ac.uk/~sret1/analog/
# or http://summary.net/soft/analog.html for more information.
#
# Lines starting with a '#' character are comments
#
HOSTNAME "[my organisation]"
# Host name, used in the title of the report
#
HOSTURL "none"
# Host name will be a link to here
#
DEFAULTLOGFORMAT AUTO
# this is the log format used for drag and dropped logs
#
LOGFORMAT APACHELOGFORMAT
(%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n
%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n
%S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n)
# Log file format AUTO, COMMON, COMBINED, MICROSOFT-NA, MICROSOFT-INT,
# WEBSTAR, EXTENDED, NETPRESENZ-NA, NETPRESENZ-INT, NETSCAPE, REFERRER,
# APACHELOGFORMAT or BROWSER
#
LOGFILE "raqwide.web.log,Webstar.log"
# Specify the log file(s) to be processed. May consist of a list of file
# names seperated by commas and may contain wild cards ('*' and '?').
# This can also be a relitave or full path name, for example:
#LOGFILE "Hard disk:WebSTAR 2.0:*.log"
#
OUTPUT HTML
# Output format, can be ASCII, HTML, COMPUTER, or CACHE
#
OUTFILE Report.html
# The default file for output.
********************************************************
I get the following error(s) with this version:
***********
Processing...
analog: analog version 4.11/Mac
analog: Warning C: Bad argument in configuration command: ignoring it:
LOGFORMAT APACHELOGFORMAT
analog: ...cont..: (reason: no item codes are present)
(For help on all errors and warnings, see docs/errors.html)
analog: Warning C: Unknown configuration command: ignoring it:
(%S %j %j
analog: Warning C: Unknown configuration command: ignoring it:
%S %j %j
analog: Warning C: Unknown configuration command: ignoring it:
%S %j %j
analog: Warning R: Turning off empty Failure Report
analog: Warning R: Turning off empty Failed Referrer Report
analog: Warning R: Turning off empty Search Word Report
Complete!
************
I've used over 45 different permutations of the Log File
Format ("LOGFORMAT") and the shorthand symbols with no better results
than the above.
HELP! Can you PLEASE provide some clarity and information so that
I can get the kind of stats output that the Raq3 CLAIMS to be
able to produce,
... OR ...
I can get the downloaded copy of the log file
("raqwide.web.log" or "web.log") to be read by a local copy of Analog.
TIA
Patrick Beart
--
-------------------------------------------------------------------
patrick@xxxxxxxxxxxxxxxxxxx 503-558-8322 Clackamas(Portland), OR
Web Architecture: http://www.WebArchitecture.com
Intelligent Internet consulting, site development, and hosting
solutions since 1994
* Founding MEMBER -- Internet Professionals Northwest. (www.ipn.org)
* MEMBER -- Webmaster's Guild/ Association of Internet Professionals
-------------------------------------------------------------------