Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Correlate Date/Time with another field in Extra Sections

Reply to Post Add a New Topic
UserPost

10:33 pm
September 9, 2010


jefft

San Diego

New Member

posts 2

My log includes extra1, which is for %T, "Time to serve requests in seconds" 

I'd like to have an extra section that correlates a date/time range in hours or minutes, with number of seconds it took to process a request. 

I've gotten a simple 2 column chart to work that shows secconds on the left, with the number of hits that took that many seconds to serve, on the right.

 

I used this for my simple chart:

LogFormat = "%host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot %other %other %extra1"

ExtraSectionName1="Time to serve requests (seconds)"
ExtraSectionCodeFilter1=""
ExtraSectionFirstColumnTitle1="Number of seconds to serve the request"
ExtraSectionFirstColumnValues1="extra1,(.*)"
ExtraSectionStatTypes1="H"

 

There is a "Hours" link on the top left of the AWStats page, but
clicking it only modifies the standard charts, and does nothing for my
extra section.  Is there some way to make that built in filter work with
my extra section? 

 

Or is there some way to make a 2 column chart using date/time and the number of seconds a request took to serve?

 

Thanks in advance for your help!

Jeff

11:10 pm
September 10, 2010


Jean-Luc

Admin

posts 1125

Hello,

You cannot replace the first column by two columns in an extra section.

However you can generate AWStats reports on an hourly basis rather than on a monthly basis. See FAQ-COM600 How can I compile and build statistics on a daily basis only ? This will produce stats for, say, today between 08:00 and 08:59. If you want an average for all days of the month between 08:00 and 08:59, you will need to add a script that will calculate average values.

9:35 pm
September 15, 2010


jefft

San Diego

New Member

posts 2

Thanks Jean-Luc.  I'll do some testing with that info.

Jeff

Reply to Post

Reply to Topic:
Correlate Date/Time with another field in Extra Sections

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
3 + 11
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
18 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 639
Posts: 2710

Membership:

There are 257 Members
There have been 304 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)