how to create new dlf stores for generating daily,weekly ,montly and yearly reports(second time post)

Joost van Baal joostvb at logreport.org
Fri Sep 9 07:17:06 CEST 2005


On Sun, Aug 21, 2005 at 12:16:47PM +0530, ankush grover wrote:
> hey friends,
> 
> I think lire is one of the best softwares on reporting part.I am
> having few problems in
> configuring New DLF stores.I am using Fedora Core 3 and using Lire
> 2.0.1 version
> 
> This is how I created a new store.
> 
> a) Ran the command "lire" from the command line.
> 
> b) Create a new store -->  /var/www/html/testing/email_reports.
> 
> c) Import Jobs -->
> 
>                   name :  email_daily
>                   period:  daily
>                   service: postfix
>                   log_file: /var/log/maillog
>                   filter:  /bin/zcat
> 
> d) Report Jobs
> 
>                     name:  email_daily1
>                      schedules:
>                                     period: daily
> 
> e) Output Jobs
> 
>                   name:  email_daily1
>                   format:  html
>                   destination:  file ( Do i have to give the path for
> this file ?)
> 
> f) Report Configurations:     email_default
> 
> g) The cron entry for this is follows
> 
> 0 1 * * * /usr/local/bin/lr_cron daily /var/www/html/testing
> 
> But there are no reports generated by this.
> 
> I can manually generate reports with
> 
> lr_log2rotate  --output html postfix /var/log/maillog
> /var/www/html/email_reports.
> 
> I want to generate daily,weekly,monthly and yearly statistics.
> 
> Do I have disable logrotate entries for mysql,postfix,ftp,apache so
> that the log files like /var/log/maillog are not rotated ?
> 
> Please help me in configuring daily,weekly ,monthly and yearly reports
> for email(postfix),ftp(vsftp),mysql ,apache and for few other
> softwares(which are supported by lire).

I guess your cronjob should look like

 0 1 * * * /usr/local/bin/lr_cron daily /var/www/html/testing/email_reports

I'm not quite sure though...

BTW, there are prebuild RPMs for Lire too (they might need updating,
though.)

Bye,

Joost

-- 
.    .                                        http://logreport.com/
| '.|                        /^LogReport$/
| Lire                                        http://logreport.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.logreport.org/pipermail/questions/attachments/20050909/f9bcd001/attachment.bin 


More information about the Questions mailing list