Web server reports time_taken in seconds.milliseconds (12.345)

Avatar
  • updated
  • Completed
Our Web server reports time_taken in seconds.milliseconds (12.345) How can I make this work in weblog expert? This can not be changed in the logs.. Any help appreciated.
Avatar
Michael
At the moment you can try to use the option in WebLog Expert to treat time taken in seconds. The problem is that it doesn't support the milliseconds part, so 12.345 will be shown as 12000 ms, and 0.567 will be shown as 0.

You can do it by choosing the Apache log format in Profile Properties > Log Files. Choose "Apache" as the log format, click the "Custom" button to the right of it, choose the custom format and enter the following format:

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

In the next version we'll update the program so it will also recognize the milliseconds part.
Avatar
Michael
Great, I'm glad that the feature works with your logs now.
Avatar
James Kmetz
Well... You were correct. I must had changed %T to %D for some reason..... Changed it back to %T and worked.. Thanks, sorry for the confusion.

That looks better... These are streams by the way... :-)

Avatar
Michael
What report do you get? If it is possible, could you send us the report and a sample log you analyzed now to us at support@weblogexpert.com ?
Avatar
James Kmetz
Yes
Avatar
Michael
Have you specified custom Apache format? You can do it by choosing the Apache log format in Profile Properties > Log Files. Choose "Apache" as the log format, click the "Custom" button to the right of it, choose the custom format and enter the following format:

%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" - %T
Avatar
James Kmetz
Then this feature is not working, do I need to do anything special?
Avatar
Michael
We have already released version 9.3 (final), you can download it from http://www.weblogexpert.com/download.htm
Avatar
James Kmetz
Where do i get the beta version?
Avatar
James Kmetz
Perfect, Thanks!

Meanwhile, is there an easy way to multiply the 12.345 by 1000 within weblog expert so I can test the time taken?

Thanks again