Welcome! Log In Create A New Profile

Advanced

Re: Blackbox Logs

Maxim Dounin
June 20, 2010 05:34PM
Hello!

On Fri, Jun 18, 2010 at 04:14:21PM -0500, Alan Gutierrez wrote:

> Maxim Dounin wrote:
>
> >Actually, most important thing to log is $upstream_response_time.
> >So it's not a good idea to log something in an "apache compatible"
> >format as you are going to log wrong metrics in this case.
>
> To this point, I'm really looking to create something that is
> *conceptually* compatible to the log format described in the
> original article, a log format geared towards generalized
> performance and security auditing, rather than hit counting. There
> is no need to record thread id, in Nginx, quite obviously. If there
> was a legacy of scripts for the "blackbox" log format described by
> Chris Josephes, that might be a different matter, but there are not.
> My own little Nginx "blackbox" format will include
> $upstream_response_time as you suggest.

Just a quick note:

You may also want to include $upstream_addr and
$upstream_status for configurations with more than one upstream
server, and $upstream_cache_status for configurations using
proxy/fastcgi cache.

Other things to consider: $gzip_ratio, $pipe.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Blackbox Logs

Alan Gutierrez June 17, 2010 12:04PM

Re: Blackbox Logs

Maxim Dounin June 18, 2010 07:34AM

Re: Blackbox Logs

Alan Gutierrez June 18, 2010 05:20PM

Re: Blackbox Logs

Maxim Dounin June 20, 2010 05:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 188
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