report configs

Wessel Dankers wsl-logreport at fruit.eu.org
Mon Jun 9 00:07:53 CEST 2003


oi!

Regarding the revising of the Report Configuration File format, I found
this snippet in an old Config API proposal (it's in CVS too, but I copied
it here):

    <report name="dns">
      <section><title>Summary</title>
        <subreport name="requests-summary"/>
        <subreport name="requests-summary-by-method"/>
      </section>
      <section><title>All Requests</title>
        <subreport name="top-requesting-hosts">
          <argument name="hosts_to_show">10</argument>
        </subreport>
        <subreport name="top-requested-names">
          <argument name="names_to_show">10</argument>
        </subreport>

<!-- You may want to uncomment those if you run a
     version of Bind9 that doesn't log the resolver method.
        <subreport name="requesttype-distribution"/>
        <subreport name="requests-by-period">
          <argument name="period">1d</argument>
        </subreport>
        <subreport name="requests-by-timeslot">
          <argument name="timeslot">1h</argument>
        </subreport>
-->
        <subreport name="requesttype-by-method"/>
        <subreport name="req-by-period-by-method">
          <argument name="period">1d</argument>
        </subreport>
        <subreport name="req-by-timeslot-by-method">
          <argument name="timeslot">1h</argument>
        </subreport>
      </section>

      <section><title>Recursive Requests</title>
        <filter name="select-resolver">
          <argument name="method">recurs</argument>
          <subreport name="top-requesting-hosts">
            <argument name="hosts_to_show">10</argument>
          </subreport>
          <subreport name="top-requested-names">
            <argument name="names_to_show">10</argument>
          </subreport>
        </filter>
      </section>
      <section><title>Non Recursive Requests</title>
        <filter name="select-resolver">
          <argument name="method">nonrec</argument>
          <subreport name="top-requesting-hosts">
            <argument name="hosts_to_show">10</argument>
          </subreport>
          <subreport name="top-requested-names">
            <argument name="names_to_show">10</argument>
          </subreport>
        </filter>
      </section>
    </report>
  </global>

Another possibility coming up.

-- 
Wessel Dankers <wsl at logreport.org>

“CD-ROM server needs recalibration”

-- 
To UNSUBSCRIBE, email to development-request at logreport.org with a subject of
"unsubscribe". Trouble? Send an email with subject "help" to
development-request at logreport.org



More information about the Development mailing list