Welcome! Log In Create A New Profile

Advanced

Re: nginx request time

Jérôme Loyet
June 17, 2009 08:50AM
2009/4/13 Maxim Dounin <mdounin@mdounin.ru>:
> Hello!
>
> On Tue, Apr 14, 2009 at 12:44:50AM +0530, Deepan Chakravarthy wrote:
>
>> Hi,
>> Is it possible to log the time taken for each request in the log file ? Or
>> is there a package like apache top for nginx ?
>
> http://wiki.nginx.org/NginxHttpLogModule#log_format
> $request_time
>

I'm using $request_time in my access_log and I have this:
10.1.1.1 - - [17/Jun/2009:14:48:12 +0200] "GET
/lib/exploit_tools/test.static.html HTTP/1.1" 200 1391040 "-"
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322;
.NET CLR 2.0.50727)" 26.691

And on the wiki it's said:
$request_time, the time it took nginx to work on the request, in
milliseconds, (in seconds for versions older than 0.5.19)

26.691 is the time in seconds with milliseconds after the dot. Am I right ?

Subject Author Posted

nginx request time

Deepan Chakravarthy April 13, 2009 03:14PM

Re: nginx request time

Maxim Dounin April 13, 2009 04:41PM

Re: nginx request time

Jérôme Loyet June 17, 2009 08:50AM

Re: nginx request time

Maxim Dounin June 17, 2009 09:45AM

Re: nginx request time

Jérôme Loyet June 17, 2009 09:51AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 121
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready