<div dir="ltr"><div><div>Perhaps this can be useful for you: <a href="https://github.com/Lax/nginx-http-accounting-module">https://github.com/Lax/nginx-http-accounting-module</a><br><br></div>Kind regards,<br></div>Oscar<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 11, 2018 at 6:19 AM, Jeff Abrahamson <span dir="ltr"><<a href="mailto:jeff@p27.eu" target="_blank">jeff@p27.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>I want to monitor nginx better: http returns (e.g., how many
      500's, how many 404's, how many 200's, etc.), as well as request
      rates, response times, etc.  All the solutions I've found start
      with "set up something to watch and parse your logs, then ..."</p>
    <p>Here's one of the better examples of that:</p>
    <blockquote>
      <p><a class="m_-7356199328322130055moz-txt-link-freetext" href="https://www.scalyr.com/community/guides/how-to-monitor-nginx-the-essential-guide" target="_blank">https://www.scalyr.com/<wbr>community/guides/how-to-<wbr>monitor-nginx-the-essential-<wbr>guide</a></p>
    </blockquote>
    <p>Perhaps I'm wrong to find this curious.  It seems somewhat heavy
      and inefficient to put this functionality into log watching, which
      means another service and being sensitive to an eventual change in
      log format.</p>
    <p>Is this, indeed, the recommended solution?</p>
    <p>And, for my better understanding, can anyone explain why this
      makes more sense than native nginx support of sending UDP packets
      to a monitor collector (in our case, telegraf)?<span class="HOEnZb"><font color="#888888"><br>
    </font></span></p><span class="HOEnZb"><font color="#888888">
    <pre class="m_-7356199328322130055moz-signature" cols="72">-- 

Jeff Abrahamson
+33 6 24 40 01 57
+44 7920 594 255

<a class="m_-7356199328322130055moz-txt-link-freetext" href="http://p27.eu/jeff/" target="_blank">http://p27.eu/jeff/</a>
</pre>
  </font></span></div>

<br>______________________________<wbr>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Oscar Fernandez Sierra<br><a href="mailto:oscaretu@gmail.com" target="_blank">oscaretu@gmail.com</a></div>
</div>