html report no charts

Wytze van der Raay wytze at nlnet.nl
Mon Jan 24 11:10:58 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Cagnasso wrote:
| i have Lire 2.0.1 ploticus 2.30.1 i make report with :
| lr_log2report -o html syslog /var/log/syslog test
| the html is good but contain no chart ? why?

The default report setup for the "syslog" report type as distributed with
Lire 2.0.1 does not contain any "charttype=..." specifications. Thus no
charts are defined in any of the syslog subreports.
But for example, if you change:
	/usr/share/lire/reports/syslog/messages-by-period.xml
like this:

- --- messages-by-period.xml.org  2004-10-09 22:59:06.000000000 +0200
+++ messages-by-period.xml      2005-01-24 11:00:05.000000000 +0100
@@ -3,7 +3,7 @@
~   "-//LogReport.ORG//DTD Lire Report Specification Markup Language V2.0//EN"
~   "http://www.logreport.org/LRSML/2.0/lrsml.dtd">
~ <lire:report-spec xmlns:lire="http://www.logreport.org/LRSML/"
- - id="messages-by-period" superservice="syslog">
+ id="messages-by-period" superservice="syslog" charttype="bars">

~  <lire:title>Messages by Period Syslog Report </lire:title>

you will get a nice bar chart added to the "Number of Messages Logged by
Period" report. By the way, you don't have to modify the installed version
of this file; instead you can copy it to ~/.lire/reports/syslog/ and keep
your own customized version there.

Regards,
- -- wytze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB9Mmyqs+zhiEbbu8RAtb8AKDoOFs0r16pzXoAiEYMnxq+0W51gQCfTwxV
D/Wc/8/Y23PLzW+I9Gp7T4w=
=QTL2
-----END PGP SIGNATURE-----

-- 
To UNSUBSCRIBE, email to questions-request at logreport.org with a subject of 
"unsubscribe". Trouble? Send an email with subject "help" to 
questions-request at logreport.org



More information about the Questions mailing list