File: users-summary.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 (37 lines) | stat: -rw-r--r-- 1,090 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
<?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="users-summary">

 <lire:title>User Summary Proxy Report</lire:title>
 <lire:description>
  <para>This report shows some global stats about the users.</para>
 </lire:description>

 <lire:display-spec>
  <lire:title>Users Summary</lire:title>
 </lire:display-spec>

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

 <lire:report-calc-spec>
  <lire:summary>
   <lire:count name="user_total" fields="user"/>
   <lire:avg name="avg_requests_by_user" by-fields="user"/>
   <lire:avg name="avg_size_transferred_by_user" field="bytes" 
    by-fields="user"/>
   <lire:avg name="avg_time_by_user" field="duration" by-fields="user"/>
  </lire:summary>
 </lire:report-calc-spec>

</lire:report-spec>

<!-- 
Keep this comment at the end of the file
Local variables:
mode: xml
-->