Mailing List Archive

Weekly and Monthly Reports
Our site produces about 1 GB of logs per day so I have them organized into
directories like this:

2008/08/01
2008/08/02
etc

In each directory are about 100 logs in .gz format

I can easily produce a report for a single day.

If I want to produce a report for a week, how would I go about specifying
all of the logs to process? For example, if I wanted to process all the
logs in 2008/08/01 - 2008/08/08, how would I do that?

Thanks
Terry
Re: Weekly and Monthly Reports [ In reply to ]
Terry Chambers <terry.chambers@gmail.com> wrote:
>> Our site produces about 1 GB of logs per day so I have them
>> organized into directories like this:
>>
>> 2008/08/01
>> 2008/08/02
>> etc
>>
>> In each directory are about 100 logs in .gz format
>>
>> I can easily produce a report for a single day.
>>
>> If I want to produce a report for a week, how would I go about
>> specifying all of the logs to process? For example, if I wanted to
>> process all the logs in 2008/08/01 - 2008/08/08, how would I do that?

LOGFILE 2008/08/01/*
LOGFILE 2008/08/02/*
LOGFILE 2008/08/03/*
LOGFILE 2008/08/04/*
LOGFILE 2008/08/05/*

etc. You can have multiple LOGFILE commands, or you can specify multiple logfiles on the command line, if that's how you run Analog

Aengus

+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Analog Documentation: http://analog.cx/docs/Readme.html
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------