~ubuntu-branches/ubuntu/maverick/lire/maverick

« back to all changes in this revision

Viewing changes to firewall/reports/bytespertoperport.xml

  • Committer: Bazaar Package Importer
  • Author(s): Joost van Baal
  • Date: 2002-04-11 23:36:21 UTC
  • Revision ID: james.westby@ubuntu.com-20020411233621-rj3dbr7z5wulfd7z
Tags: upstream-20020214
ImportĀ upstreamĀ versionĀ 20020214

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="ISO-8859-1"?>
 
2
<!DOCTYPE lire:report-spec PUBLIC
 
3
  "-//LogReport.ORG//DTD Lire Report Specification Markup Language V1.0//EN"
 
4
  "http://www.logreport.org/LRSML/1.0/lrsml.dtd">
 
5
<lire:report-spec xmlns:lire="http://www.logreport.org/LRSML/"
 
6
 superservice="firewall" id="bytespertoperport" charttype="bars">
 
7
 
 
8
 <lire:title>Top Bytes per destination IP per Port Report</lire:title>
 
9
 <lire:description>
 
10
  <para>
 
11
    This report lists the volume were asked to receive per destination IP per
 
12
    port.
 
13
  </para>
 
14
 </lire:description>
 
15
 
 
16
 <lire:param-spec>
 
17
  <lire:param name="ips_to_show" type="int" default="10">
 
18
   <lire:description>
 
19
    <para>This parameter controls the number of receiving IP adresses to
 
20
     display in the report.
 
21
    </para>
 
22
   </lire:description>
 
23
  </lire:param>
 
24
  <lire:param name="ports_to_show" type="int" default="10">
 
25
   <lire:description>
 
26
    <para>This parameter controls the number of ports to display
 
27
     in the report.
 
28
    </para>
 
29
   </lire:description>
 
30
  </lire:param>
 
31
 </lire:param-spec>
 
32
 
 
33
 <lire:display-spec>
 
34
  <lire:title>
 
35
    Volume per destination IP, per port, Top $ips_to_show,
 
36
    Top $ports_to_show ports
 
37
  </lire:title>
 
38
 </lire:display-spec>
 
39
 
 
40
 <lire:report-calc-spec>
 
41
  <lire:group sort="-volume" limit="$ports_to_show">
 
42
   <lire:field name="to_port"/>
 
43
   <lire:sum name="volume" field="length"/>
 
44
   <lire:group sort="-ip_volume" limit="$ips_to_show">
 
45
    <lire:field name="to_ip"/>
 
46
    <lire:sum name="ip_volume" field="length"/>
 
47
   </lire:group>
 
48
  </lire:group>
 
49
 </lire:report-calc-spec>
 
50
 
 
51
</lire:report-spec>
 
52