.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" .\" Required to disable full justification in groff 1.23.0. .if n .ds AD l .\" ======================================================================== .\" .IX Title "LIRE.IN 1" .TH LIRE.IN 1 2025-09-28 "Lire 2.1.1" "LogReport's Lire Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME lire \- Lire interface .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBlire\fR .SH DESCRIPTION .IX Header "DESCRIPTION" \&\fBlire\fR has two purposes: it configures Lire, and it enables automatic report generation. .PP \&\fBlire\fR is a menu driven application. You should use the TAB key to navigate across the various interface elements. The arrow keys should be used to navigate menus. The main menubar can be accessed at all times using F10. The mouse might be available depending on your terminal and the implementation of the Curses::UI module of your system. .SS "configuring Lire" .IX Subsection "configuring Lire" The \*(AqPreferences\*(Aq menu item in the \*(AqLire\*(Aq menu will give you access to all the Lire settings. The lire command edits or creates ~/.lire/config.xml. .SS "automatic report generation" .IX Subsection "automatic report generation" \&\fBlire\fR enables automatic report generation by creating and managing DLF stores. A \fIDLF store\fR is a log repository. In a DLF store, you can configure ImportJobs and ReportJobs that will be executed regularly. Store configuration is saved in store/config.xml. .PP An \fIImportJob\fR is a job that will import log data into the DLF store. This data will be used later to generate the reports. .PP \&\fIReportJobs\fR should be used to generate periodical reports. Reports are generated from the DLF streams available in your DLF store. The report can be generated for different schedules. Lire supports 5 different schedules: hourly, daily, weekly, monthly and yearly. .PP You will need to select the report configuration file to use for each schedule. Defaults are located in /lire/, which you should use as templates that you need to customize according to your purpose. .PP The reports can be generated either from the log data imported in the database or from previously generated \fBdaily\fR reports. This is useful when you have lots of log data and you don\*(Aqt want to keep all the raw data available. The source is selected automatically based on data availability. You should note however that only \*(Aqdaily\*(Aq reports are considered as a data source for other reports (making that possible only with weekly or longer schedules). .PP When executed, a ReportSchedule will only generate the report and save it in the DLF store. If you want to obtain a formatted copy of the report, you will need to configure one or more \fIOutputJobs\fR. .PP Two types of OutputJob are supported: .PP 1\- The report can be sent by email to one or more address; .PP 2\- or it can saved in a file on the disk. A useful configuration is to generate HTML reports in a directory published on a web site. When using a "file" OutputJob you will probably want to use \fBstrftime\fR\|(3) expansion so that the filename is different each time the report is generated. The most common expansions are: .PP .Vb 5 \& %Y \- fou digits year (2000); \& %m \- two\-digits month number (01 for january); \& %V \- ISO week number; \& %d \- day of the month number; \& %H \- hour of day (01\-23). .Ve .PP Also, contrary to the lr_log2report command, HTML reports are generated into a directory (not as a tar file). .PP To run the scheduled jobs, you will need to setup cron jobs. Use \fBlr_cron\fR\|(1) to process the configured jobs in a store. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBlire\fR\|(7), \fBlr_cron\fR\|(1), Lire User\*(Aqs Manual .SH AUTHORS .IX Header "AUTHORS" Francis J. Lacoste Wolfgang Sourdeau .SH VERSION .IX Header "VERSION" \&\f(CW$Id:\fR lire.in,v 1.10 2006/07/23 13:16:32 vanbaal Exp $ .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2004 Stichting LogReport Foundation, LogReport@LogReport.org .PP This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. .PP This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. .PP You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html.