<?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="www" id="tracked_pages-by-period" charttype="histogram">

 <lire:title>Requested Tracked Pages By Period WWW Report (Obsolete)</lire:title>

 <lire:description>
  <para>This report shows highest tracked page by time period.
   <warning>
    <para>With the implementation of global filter, that report
     specification is now obsolete. You should rather use <constant
      role="report-spec:www">top-urls-by-client_host</constant>.
    </para>
   </warning>
  </para>
 </lire:description>

 <lire:param-spec>

  <lire:param name="period" type="duration" default="1d">
   <lire:description>
    <para>This parameter controls the time period over which the requests 
     are aggregated.
    </para>
   </lire:description>
  </lire:param>

  <lire:param name="tracked_page_re" type="string" default="">
   <lire:description>
    <para>This parameter contains a regular expression which is used
     to determine which pages are tracked.
    </para>
   </lire:description>
  </lire:param>

 </lire:param-spec>

 <lire:display-spec>
  <lire:title>Requested Tracked Pages By $period Period</lire:title>

  <lire:description>
   <para>The tracked pages are those matching the regular expression:
    /$tracked_page_re/.
   </para>
  </lire:description>
 </lire:display-spec>

 <lire:filter-spec>
  <lire:match value="$requested_page" re="$tracked_page_re"/>
 </lire:filter-spec>

 <lire:report-calc-spec>
  <lire:timegroup period="$period">
   <lire:count name="request_total"/>
  </lire:timegroup>
 </lire:report-calc-spec>

</lire:report-spec>

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