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

Extra section to count time response

Reply to Post Add a New Topic
UserPost

4:28 pm
January 25, 2011


JoinUp

Guest

Hello,

 

I got this log format :

%h %l %u %t  %Extra1 "%r" %>s %b "%{Referer}i" "%{User-Agent}i"

 

The %Extra1 is the Time response field from apache.

 

What i need is a extra section with all records, all queries and the time response?

is possible?

I got this:

ExtraSectionName1="Response time"
ExtraSectionCodeFilter1="200 304"
ExtraSectionCondition1=""
ExtraSectionFirstColumnTitle1="Response time"
ExtraSectionFirstColumnValues1="Extra1,([^&]+)"
ExtraSectionFirstColumnFormat1="%s"
ExtraSectionStatTypes1=HL
ExtraSectionAddAverageRow1=0
ExtraSectionAddSumRow1=1
MaxNbOfExtra1=20
MinHitExtra1=1

Not working

 

Help ?

 

Smile

7:01 pm
January 25, 2011


Jean-Luc

Admin

posts 1125

Hello,

What do you mean with "not working" ? I copied and pasted your extra section and it worked here.

7:06 pm
January 25, 2011


JoinUp

Guest

Well the extra section doesnt give me the time response, it return the hosts and Hit, nothing refer to time response.

 

The obj is get the seconds has the log file shows:

85.139.253.17 – - [24/Jan/2011:01:01:13 +0000] 6 "GET /artigos/get?_search=false&nd=1295830837148&rows=100&page=1&sidx=artigo_description&sord=asc HTTP/1.1" 200 12796 "http://xx.xx.com/artigos" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

4 ex: i need the 6 seconds in the report and where it got 6 seconds, what GET .

You get this result too?

 

Host                                                      Hits                       Last visit

85.241.135.19 16442 21 Jan 2011 – 02:30
85.139.253.17 6605 25 Jan 2011 – 18:00

7:31 pm
January 25, 2011


Jean-Luc

Admin

posts 1125

Can you try with this LogFormat ?

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

7:39 pm
January 25, 2011


JoinUp

Guest

Still not working ,i need the GET too, now i got:

 

Failed to extract key 24250 27118 25 Jan 2011 – 18:09
1 396 417 25 Jan 2011 – 18:06
2 193 195 25 Jan 2011 – 18:05

7:53 pm
January 25, 2011


Jean-Luc

Admin

posts 1125

This is correct. This is what you are supposed to get with your extra section.

In an extra section, you can only define the content of the first column. The other columns always contain hits, pages and/or the last time stamp. You cannot combine several fields in the first column. So, there is no way to do what you want with an extra section.

The only way around would be to write a specific AWStats plugin or to patch the awstats.pl source code, but this is not a 5 minutes job.

Reply to Post

Reply to Topic:
Extra section to count time response

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:
12 + 5
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
17 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)