Average daily requests

Brett Simpson Simpsonb at hillsboroughcounty.org
Thu Jan 13 17:44:10 CET 2005


I'm trying to figure out how to generate a count on average hourly and daily requests. I can see that an average is available for Compressed URLS and Files.

Assuming the code is in place could I do something similar to this so that I can get the Average amount of requests per day. So it will average hourly requests and then for a daily request average.

In requests-by-period.xml
 <lire:report-calc-spec>
  <lire:timegroup period="$period" label="Period">
   <lire:count name="request_total" label="Requests"/>
   <lire:count name="request_ratio" ratio="table" label="% Total"/>
   <lire:avg name="avg_requests" field="request_total" label="Avg"/>
  </lire:timegroup>
 </lire:report-calc-spec>

If the averaging isn't available were can I look to get an idea of where I need to code in this extra functionality.

Brett

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




More information about the Questions mailing list