Report Dates
Francis J. Lacoste
flacoste at logreport.org
Thu Apr 24 03:02:38 CEST 2003
On lun, 2003-04-21 at 14:01, Ross Marshall wrote:
> Is there any way to include dates in a log report. For instance, I have a
> squid proxy running, and would like to find out who was using it on Saturdays
> and Sundays, but the week at a glance only show Mon through Fri. Is it
> possible to generate a report for only Sat and Sun?
>
You would need to create a users-by-period report which would shows the
user active on each giving day (you could even use a filter to restrict
the report to a given period like sat and sun).
You create new report by writing a report specification (which is only
a XML file specifying the report's parameters, description, title and
operators). Documentation on this is rather terse: the XML format is
described in a reference style in the developer's manual, but we need
some tutorial on this. The easiest way to write a new one is by looking
at one which is near of what you want. The report specifications for the
proxy schema can be found in <prefix>/share/lire/reports/proxy
The user manual has a chapter on the report configuration file
(proxy.cfg) which lists the specification used to build the complete
report.
Don't hesitate to post on this list again if you need more help on
this.
Kind regards
Francis J. Lacoste
--
Francis J. Lacoste . . http://www.logreport.org
/^LogReport$/ . . flacoste at logreport.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.logreport.org/pipermail/questions/attachments/20030423/0b56e771/attachment.bin
More information about the Questions
mailing list