Count errors by http code

Valentin V. Bartenev vbart at nginx.com
Thu Jan 23 11:19:13 UTC 2014


On Thursday 23 January 2014 10:15:21 smainklh at free.fr wrote:
> Hello all,
> 
> I guess this is not the first time you hear this question :
> I would like to know if there's a way to setup counters on http codes.
> 
> I know this is feasable with some kind log analyser like splunk or logstash/kibana
> but what i want is something running on a standalone server.
> A module ? a script ?
> 
> It would be wonderfull if i could use it with collectd :)
> 
[..]

This functionality is available in Nginx Plus.

See: http://nginx.org/en/docs/http/ngx_http_status_module.html#status_zone
(server_zones -> responses)

  wbr, Valentin V. Bartenev



More information about the nginx mailing list