On Tue, 21 Dec 1999, Emmett Hogan wrote:

> Hi Folks,
> 
> I've got a little problem that I cannot seem to solve.  My log servers
> are logging everything with UMT, but I want to process them with an
> offset of 360 minutes.  The offset seems to work just fine, but if I
> want to process a log file for one day only I use the +T991220
> +F991220, analog *seems* to be checking the log entry time to see if
> it falls into the requested range BEFORE it applies the LOGTIMEOFFSET.
> Needless to say, that causes me to lose the last six hours of the day.
> 
> Has anyone else run into this problem?  Any idea how would I fix it?
> 

Let's try...

Nope, looks good to me. (See below). Maybe your logfiles are being rotated
at midnight GMT, and so you don't have the last six hours of the day in the
logfile you're analysing?

============================================================================
% analog access_log -A +a +H +F991221 +T991221 -x
Web Server Statistics for [my organisation]
===========================================

Program started at Wed-22-Dec-1999 14:48.
Analysed requests from Tue-21-Dec-1999 00:00 to Tue-21-Dec-1999 23:59 (1.0
  days).
----------------------------------------------------------------------------

Hourly Report
-------------
Each unit (+) represents 25 requests for pages or part thereof.
  

     date        time: reqs: pages: 
---------------------: ----: -----: 
21/Dec/99 00:00-01:00:  868:   314: +++++++++++++
21/Dec/99 01:00-02:00:   52:    28: ++
21/Dec/99 02:00-03:00:   16:    16: +
21/Dec/99 03:00-04:00:   16:    16: +
21/Dec/99 04:00-05:00:   16:    16: +
21/Dec/99 05:00-06:00:   18:    18: +
21/Dec/99 06:00-07:00:   16:    16: +
21/Dec/99 07:00-08:00:   16:    16: +
21/Dec/99 08:00-09:00:   22:    18: +
21/Dec/99 09:00-10:00:   29:    23: +
21/Dec/99 10:00-11:00:   57:    35: ++
21/Dec/99 11:00-12:00:   42:    28: ++
21/Dec/99 12:00-13:00:   65:    43: ++
21/Dec/99 13:00-14:00: 1709:   924: +++++++++++++++++++++++++++++++++++++
21/Dec/99 14:00-15:00: 1935:   936: ++++++++++++++++++++++++++++++++++++++
21/Dec/99 15:00-16:00: 1394:   470: +++++++++++++++++++
21/Dec/99 16:00-17:00: 1415:   570: +++++++++++++++++++++++
21/Dec/99 17:00-18:00: 1206:   446: ++++++++++++++++++
21/Dec/99 18:00-19:00: 1391:   528: ++++++++++++++++++++++
21/Dec/99 19:00-20:00: 1014:   420: +++++++++++++++++
21/Dec/99 20:00-21:00: 1143:   421: +++++++++++++++++
21/Dec/99 21:00-22:00:  820:   338: ++++++++++++++
21/Dec/99 22:00-23:00:  946:   376: ++++++++++++++++
21/Dec/99 23:00-24:00:  964:   359: +++++++++++++++

Busiest hour: 21/Dec/99 14:00-15:00 (936 requests for pages).
----------------------------------------------------------------------------

This analysis was produced by analog4.01/Unix.
Running time: 1 second.

% analog +C"logtimeoffset -60" access_log -A +a +H +F991221 +T991221 -x
Web Server Statistics for [my organisation]
===========================================

Program started at Wed-22-Dec-1999 14:48.
Analysed requests from Tue-21-Dec-1999 00:00 to Tue-21-Dec-1999 23:01 (1.0
  days).
----------------------------------------------------------------------------

Hourly Report
-------------
Each unit (+) represents 25 requests for pages or part thereof.
  

     date        time: reqs: pages: 
---------------------: ----: -----: 
21/Dec/99 00:00-01:00:   52:    28: ++
21/Dec/99 01:00-02:00:   16:    16: +
21/Dec/99 02:00-03:00:   16:    16: +
21/Dec/99 03:00-04:00:   16:    16: +
21/Dec/99 04:00-05:00:   18:    18: +
21/Dec/99 05:00-06:00:   16:    16: +
21/Dec/99 06:00-07:00:   16:    16: +
21/Dec/99 07:00-08:00:   22:    18: +
21/Dec/99 08:00-09:00:   29:    23: +
21/Dec/99 09:00-10:00:   57:    35: ++
21/Dec/99 10:00-11:00:   42:    28: ++
21/Dec/99 11:00-12:00:   65:    43: ++
21/Dec/99 12:00-13:00: 1709:   924: +++++++++++++++++++++++++++++++++++++
21/Dec/99 13:00-14:00: 1935:   936: ++++++++++++++++++++++++++++++++++++++
21/Dec/99 14:00-15:00: 1394:   470: +++++++++++++++++++
21/Dec/99 15:00-16:00: 1415:   570: +++++++++++++++++++++++
21/Dec/99 16:00-17:00: 1206:   446: ++++++++++++++++++
21/Dec/99 17:00-18:00: 1391:   528: ++++++++++++++++++++++
21/Dec/99 18:00-19:00: 1014:   420: +++++++++++++++++
21/Dec/99 19:00-20:00: 1143:   421: +++++++++++++++++
21/Dec/99 20:00-21:00:  820:   338: ++++++++++++++
21/Dec/99 21:00-22:00:  946:   376: ++++++++++++++++
21/Dec/99 22:00-23:00:  964:   359: +++++++++++++++
21/Dec/99 23:00-24:00:   20:     9: +

Busiest hour: 21/Dec/99 13:00-14:00 (936 requests for pages).
----------------------------------------------------------------------------

This analysis was produced by analog4.01/Unix.
Running time: 1 second.


-- 
Stephen Turner    [EMAIL PROTECTED]    http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
  "Children from St Lawrence's School have buried a time capsule to mark both
   the millennium and National Tree Week." Cambridge Town Crier, 16/12/99

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to