lr_xml2report merge problem
Joost van Baal
joostvb at logreport.org
Thu Mar 30 10:40:07 CEST 2006
Hi Shakeel,
Op do 30 mrt 2006 om 09:28:45 +0100 schreef Shakeel Suffee:
> Hi all,
>
> I am running logreport 2.32
The lire 2.0.1-1 RPM from logreport.org you mean?
> on RHEL3up5 with kernel 2.4.21-32 and Perl
> version 5.8.7
>
> I am having some problems when trying to merge xml reports. Below are
> the commands and sample output. First I converted my exim logs into xml
> reports and then merged the reports.
>
> # lr_log2report -o xml exim exim_mainlog.03.gz repxml03.xml
> Log file was compressed using gzip.
> Decompressing log file using /bin/gzip...
> Parsing log file using exim DLF Converter...
> Extracted 17745 DLF records on 76829 lines.
> Encountered 0 errors and ignored 0 lines.
> Running analysers...
> Generating XML report...
> Formatting report as xml in repxml03.xml...
>
> ###############
>
> This is an output of the part of the report causing the problems
>
> Delay Deliveries % Total
> ----------------------------------------------------- ---------- -------
> [0s-1s> 23346 39.6
> [1s-6s> 27011 45.8
> [6s-31s> 4182 7.1
>
> ##############
>
> #lr_xml2report -o xml --template email_default --merge repxml02.xml
> repxml03.xml > repxmlcat.xml
> Merging reports 'repxml03.xml', 'repxml02.xml'...
> lr_xml2report: WARNING invalid number of names for a rangegroup subreport: 0
>
> lr_xml2report: WARNING Merge of 'deliveries-by-size.0' failed at
> /usr/local/share/perl5/Lire/ReportConfig.pm line 794.
>
> lr_xml2report: WARNING incompatible merge: source range is splitted
> across target ranges: [1,6> : end=5
>
> lr_xml2report: WARNING Merge of 'deliveries-by-delay.0' failed at
> /usr/local/share/perl5/Lire/ReportConfig.pm line 794.
>
> lr_xml2report: WARNING invalid number of names for a rangegroup subreport: 0
>
> lr_xml2report: WARNING Merge of 'deliveries-by-size.0' failed at
> /usr/local/share/perl5/Lire/ReportConfig.pm line 794.
>
> lr_xml2report: WARNING incompatible merge: source range is splitted
> across target ranges: [1,6> : end=5
>
> lr_xml2report: WARNING Merge of 'deliveries-by-delay.0' failed at
> /usr/local/share/perl5/Lire/ReportConfig.pm line 794.
>
> Formatting report as xml in -...
>
>
> Any advice are welcomed, btw I haven't tried with the dlf stores so far
> but I want to have the manual merge to work as well.
This might very well be a Lire bug...
Are you using the standard deliveries-by-delay.xml, featuring
<lire:report-calc-spec>
<lire:rangegroup field="delay" range-size="$delay-size"
size-scale="5" label="Delay">
<lire:count name="deliveries_total" label="Deliveries"/>
<lire:count name="deliveries_ratio" ratio="table" label="% Total"/>
</lire:rangegroup>
</lire:report-calc-spec>
? Or did you change this? deliveries-by-delay.xml is likely installed
in /usr/share/lire/reports/email/.
Did you do any other tuning of the Lire reports?
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: 829 bytes
Desc: Digital signature
Url : http://lists.logreport.org/pipermail/questions/attachments/20060330/f7d6ae2b/attachment.bin
More information about the Questions
mailing list