File: top-users-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 (48 lines) | stat: -rw-r--r-- 1,426 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
42
43
44
45
46
47
48
<?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-users-by-bytes" charttype="bars">

 <lire:title>Top Users by Bytes Proxy Report</lire:title>
 <lire:description>
  <para>This report lists the users who downloaded biggest volume using the
     proxy</para>
 </lire:description>

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

 <lire:display-spec>
  <lire:title>Largest Volume Sent To User, Top $users_to_show</lire:title>
  <lire:description>
   <para>Volume is in bytes</para>
  </lire:description>
 </lire:display-spec>

 <lire:filter-spec>
  <lire:ne arg1="$user" arg2="-"/>
 </lire:filter-spec>

 <lire:report-calc-spec>
  <lire:group sort="-data_bytes" limit="$users_to_show">
   <lire:field name="user"/>
   <lire:sum name="data_bytes" field="bytes"/>
  </lire:group>
 </lire:report-calc-spec>

</lire:report-spec>

<!-- 
$Id: top-users-by-bytes.xml,v 1.4 2002/02/06 22:14:14 flacoste Exp $
Keep this comment at the end of the file
Local variables:
mode: xml
-->