#1746 values "0" not counted in extra section

open
nobody
None
5
2012-10-11
2009-05-27
Dave Adams
No

I am using awstats's ExtraSection to count the number of requests with various response times, then processing the awstats DB files to determine summary statistics on our response times for various types of requests to my company's hosted web service.

The problem I just discovered is that we now have some very quick requests the often log zero millisecond response times. Awstats is failing to count any of the requests that have "0" in the response time field.

Here is my ExtraSection definition:
ExtraSectionName1="API Response Time"
ExtraSectionCodeFilter1="200 304"
ExtraSectionCondition1="URL,instr\/tags"
ExtraSectionFirstColumnTitle1="Response Time"
ExtraSectionFirstColumnValues1="extra1,([0-9]*)$"
ExtraSectionFirstColumnFormat1="%s"
ExtraSectionStatTypes1=P
ExtraSectionAddAverageRow1=0
ExtraSectionAddSumRow1=0
MaxNbOfExtra1=20000
MinHitExtra1=1

Discussion