0

I'm looking to create a graph somewhat similar to this:

alt text http://static.k5-storitve.net/site_media/images/plugins/51-1170621310-ra.mahune.org-nginx_request-month.png

But instead of graphing requests, graph responses, with a line for each HTTP response code (200 OK, 404 Not Found, 500 Server Error, etc).

Creating the graph isn't the issue (use RRDtool, Server Density or something similar), but how can I best retrieve this information from Nginx?

Unfortunately, this data isn't available on the page generated by NginxHttpStubStatusModule. If it was, this would be pretty easy.

1

1 Answer 1

1

You have to parse the access log for this.

1
  • 1
    And this task may be simplified by defining your own log format.
    – minaev
    Aug 11, 2010 at 9:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .