<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE lire:report-spec PUBLIC
  "-//LogReport.ORG//DTD Lire Report Specification Markup Language V2.0//EN"
  "http://www.logreport.org/LRSML/2.0/lrsml.dtd">
<lire:report-spec xmlns:lire="http://www.logreport.org/LRSML/"
 superservice="database" id="top-databases" charttype="bars">

 <lire:title>Most Accessed Databases Database Report</lire:title>
 <lire:description>
  <para>This report lists the databases that were the most accessed.</para>
 </lire:description>

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

 <lire:display-spec>
  <lire:title>Most Used Databases, Top $databases_to_show</lire:title>
 </lire:display-spec>

 <lire:report-calc-spec>
  <lire:group sort="-actions_total" limit="$databases_to_show">
   <lire:field name="database"/>
   <lire:count name="actions_total" label="Actions"/>
   <lire:count name="actions_ratio" label="Actions" ratio="table"/>
  </lire:group>
 </lire:report-calc-spec>

</lire:report-spec>

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