[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Raq2 Web Stats
- Subject: Re: [cobalt-users] Raq2 Web Stats
- From: "Greg Harris" <gharris@xxxxxxxxxxx>
- Date: Tue Dec 7 08:23:02 1999
The WebTrend Enterprise server for the RAQ looks good. I installed but have
not had a chance to test. THey have a 14 day free trial.
----------
>From: "Douglas MacDougall" <mac@xxxxxxxxx>
>To: <cobalt-users@xxxxxxxxxxxxxxx>
>Subject: RE: [cobalt-users] Raq2 Web Stats
>Date: Tue, Dec 7, 1999, 6:48 AM
>
> No need to install another analog. Just create a separate config file and
> use that instead. If you want to use other features or output programs, just
> set your cron job up to run what you want..
>
> I have written a program which dumbs the logfile into a mysql database, then
> compiles the results down to hourly count and various other hit data like
> browser/referer/ip etc... it uses very little space since the data is shrunk
> down by linking single text lines to integer keys which are then used
> throughout etc.. I have built my own user interface which uses a simple php3
> script to query the db and each user has the ability to get the exact stats
> they want.. currently, it is only in Japanese, but when I get some time,,
> maybe late Jan. or Feb, I may release an English version..
>
> anyway.. back to analog, yes you can use the same analog program which is
> installed on your standard raq and simply create a config file and use that
> instead .. no need to copy over the cobalt version either..
>
> I posted general instructions about two months ago. I have added the message
> on the end. Hope it helps.
>
> Douglas MacDougall
> CTO - GNA Co. Ltd.
> Japan.
>
>
>
>>>In any event, as a few others have mentioned on this list, analog is the
> key program you will want to use if you plan to do
>>>anything customized with your log data (otherwise just use on of the
> myriad of log analyzers available on the web)
>>>Here's a link to the analog Readme file ..
>>>http://www.statslab.cam.ac.uk/~sret1/analog/docs/Readme.html
>
>>I have already looked on this, but I don't understand any instructions
> there.
>
> ====================
>
> get a copy of the default analog.cfg file, either by copying, downloading,
> unzipping or whatever.. (don't overwrite the one Cobalt uses unless you
> don't use the control panel web reports.)
>
> create a copy of the config file:
>
> youranalog.cfg
> ---
>
> Set the following:
> OUTFILE youroutputfile
> LOGFILE yourlogfile [ yourlog2, yourlog3 ]
>
> ---
>
> analog will produce its report from whatever is in the logfile(s)... so if
> your logfile is only a one day log, then your report will only have data for
> one day..
> if your logfile covers 3 months of access, it will report for all 3 months
> (I believe.. never let it go that far)..
>
> Anyway, what this means is that if you want the BYTES TRANSFERED for a
> period of ONE MONTH.. then you need to send analog the logs which cover that
> entire month period. Otherwise, its up to you to do the math.
>
> Unfortunately, the raq compresses the logs when they reach a certain size..
> it has no concern with dates.. if you have small log files, one log file
> will have more than 1 months access.. if you have larger log files, you will
> have several log files for a one month period and all but the most recent
> will be compressed.
>
> Unless you know how to configure your system to run analog at one month
> intervals AND to setup your logrotate so that it compresses files monthly,
> rather than at a specified file size (I believe its 30MB) then you will have
> do this manually..
>
> Sorry, but that's the way its setup..
>
> The only other way to do it is to just run analog with whatever logfile you
> happen to have and then take the period covered (say 5 weeks or 2 weeks) and
> then mathematically guestimate the monthly transfer. One word of caution..
> analog will take some time to run, and apache will be trying to log to your
> logfile.. so make a copy.
>
> As far as HOW to find the info.. it's in the output..
>
> This is straight from the Readme file:
>
> General Summary
>
> ----------------------------------------------------------------------------
> ----
> (Figures in parentheses refer to the 7 days to 24-Sep-1998 13:48).
> Successful requests: 79,646 (48,947)
> Average successful requests per day: 17,036 (6,992)
> Successful requests for pages: 31,138 (18,689)
> Average successful requests for pages per day: 6,660 (2,669)
> Failed requests: 9,008 (6,378)
> Redirected requests: 344 (235)
> Distinct files requested: 8,180 (2,884)
> Distinct hosts served: 6,640 (4,991)
> Corrupt logfile lines: 2
> Data transferred: 976,921 kbytes (627,067 kbytes)
> Average data transferred per day: 208,967 kbytes (89,581 kbytes)
> --------------------
> The last 2 lines in the general summary have your data transfer info..
>
> Good luck,
> Douglas.
>
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>