File: top-types-by-bytes.xml

package info (click to toggle)
lire 20020214-7
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,180 kB
  • ctags: 1,245
  • sloc: perl: 11,637; xml: 5,725; sh: 3,458; makefile: 1,008
file content (41 lines) | stat: -rw-r--r-- 1,279 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?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="proxy" id="top-types-by-bytes" charttype="bars">

 <lire:title>Top MIME types by Transferred Size</lire:title>
 <lire:description>
  <para>This report lists the MIME types that resulted in the most traffic.</para>
 </lire:description>

 <lire:param-spec>
  <lire:param name="types_to_show" type="int" default="10">
    <lire:description>
    <para>This parameter controls the number of MIME types to display
     in the report.
    </para>
   </lire:description>
  </lire:param>
 </lire:param-spec>

 <lire:display-spec>
  <lire:title>Top MIME Types by Bytes Transferred, Top $types_to_show</lire:title>
 </lire:display-spec>

 <lire:report-calc-spec>
  <lire:group sort="-type_bytes" limit="$types_to_show">
   <lire:field name="type"/>
   <lire:sum name="type_bytes" field="bytes"/>
  </lire:group>
 </lire:report-calc-spec>

</lire:report-spec>

<!-- 
$Id: top-types-by-bytes.xml,v 1.2 2002/02/07 20:44:13 flacoste Exp $
Keep this comment at the end of the file
Local variables:
mode: xml
-->