merging 2 xml reports into another one
Joost van Baal
joostvb at logreport.org
Tue Oct 29 21:23:17 CET 2002
Hi Roman,
First of all: which Lire version are you using? Are you using it from a
binary package? Which package?
On Tue, Oct 29, 2002 at 06:16:31PM +0100, rfv wrote:
> hello, i have one problem with merging 2 xml files together.
> i have created two xml reports from two WWW (apache,combined) logs ...
You said you've ran
lr_run lr_log2report -o xml combined < 27_a >27.xml
and
lr_run lr_log2report -o xml combined < 28_a >28.xml
. That's OK.
Furthermore, you've said in another message you can create HTML reports
fine: you get two 1-day HTML reports.
> but when i merge this 2 xml files into one xml, date for both days are same.
>
> so i have report for 2 days , but date in this report is for both days
> same.
>
> command : lr_run lr_xml2report -U www -S combined 27.xml 28.xml >total.xml
>
> see attachment ..
> 27.xml is one day
> 28.xml is another day
> and total.xml is merged 27.xml and 28.xml
>
> had someone similar problem?
I've ran lr_xml2ascii on your files.
27.xml contains
Number of Requests Served by 1d Period
2002-10-26 ................................................ 0
2002-10-27 .............................................. 250
2002-10-27 ................................................ 8
(Hm, this looks pretty bad.)
28.xml contains
Number of Requests Served by 1d Period
2002-10-27 ................................................ 0
2002-10-28 .............................................. 430
total.xml contains
Number of Requests Served by 1d Period
2002-10-26 ................................................ 0
2002-10-27 .............................................. 250
2002-10-27 .............................................. 438
27.xml has _two_ entries for 2002-10-27. Furthermore, it says its
reporting on 2002-10-27 00:09:48 CET - 2002-10-27 23:52:16 CET, but
still it has entries on 2002-10-26.
Conclusion: the reports your trying to merge are broken. Merging broken
reports gives unpredictable results. Did you get any errormessage when
generating the two XML reports? If so, which one(s)?
Didn't your HTML report on 27 have multiple 2002-10-27 entries?
(You've sent us a log file in another message, I'll have a look at that
one now.)
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: not available
Url : http://lists.logreport.org/pipermail/questions/attachments/20021029/c09ff3d5/attachment.bin
More information about the Questions
mailing list