Field definition
gross, cedric
C.Gross at HAYWARD.FR
Wed Jan 30 12:09:52 CET 2002
I don't reach to find where are field name definition for logreport.
Is there somewhere a doc with all field available ?
For example is the <Lire:Field name=period> valid ?
And last question, why this report definition produce nothing ? (I have
a beautiful log file for it)
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE lire:report-spec PUBLIC
"-//LogReport.ORG//DTD Lire Report Specification Markup Language
V1.0//EN"
"http://www.logreport.org/LRSML/1.0/lrsml.dtd">
<lire:report-spec xmlns:lire="http://www.logreport.org/LRSML/"
superservice="ftp" id="bytes-by-user-by-period">
<lire:title>Bytes by User by Period FTP Report</lire:title>
<lire:description>
<para>This report shows the bytes transferred by user by period.
</para>
</lire:description>
<lire:param-spec>
<lire:param name="period" type="duration" default="1d">
<lire:description>
<para>This parameter controls the time period which is used to
aggregate the records.
</para>
</lire:description>
</lire:param>
<lire:param name="users_to_show" type="int" default="10">
<lire:description>
<para>This parameter controls the number of users to
display during each users.
</para>
</lire:description>
</lire:param>
</lire:param-spec>
<lire:display-spec>
<lire:title>Total Bytes Transferred by User by $period Period, Top
$users_to_show users</lire:title>
</lire:display-spec>
<lire:report-calc-spec>
<lire:group limit="$users_to_show" sort="-bytes_total">
<lire:timegroup period="$period">
<lire:sum name="bytes_total" field="file_size"/>
</lire:timegroup>
</lire:group>
</lire:report-calc-spec>
</lire:report-spec>
--
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