<div dir="ltr">Hello Devin,<div><br></div><div>varnishncsa is able to return all the client requests it received (-c) as well as all the backend requests it sent (-b), combining those to two would give you the complete picture.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>-- <br></div>Guillaume Quintard<br></div></div></div>
<br><div class="gmail_quote">On Wed, Mar 29, 2017 at 7:00 AM, Andrei <span dir="ltr"><<a href="mailto:lagged@gmail.com" target="_blank">lagged@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Devin,<div><br></div><div>The easiest method would be to use external analytics services for your site(s), such as Google Analytics. However, if you do not wish to use external services then I suggest using something like splitlogs, and having both Apache and varnishncsa cache hits piped to it, which in return will output all requests to your access logs as expected. If you're in a cPanel environment, I wrote a script that runs as a daemon, and that does just that - <a href="https://github.com/AndreiG6/vscp" target="_blank">https://github.com/AndreiG6/<wbr>vscp</a></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Mar 28, 2017 at 10:43 PM, Devin Acosta <span dir="ltr"><<a href="mailto:devin@pabstatencio.com" target="_blank">devin@pabstatencio.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><br></div><div>I am trying to get to where I can launch Varnish Cache in my environment. One of the challenges I guess that I am trying to figure out is that currently if a request is a HIT it never logs to the backend server the requests that it processed, therefore it messes up my Web Statistics. I see that I can use "varnishncsa" which will cause it log onto a file on the local machine that Varnish is running on, however is there a cleaner way to get my web statistics so that it's accurate, other than trying to pull logs from both the backend server and the varnish server and combine them together? </div><span class="m_8379744552468830309HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_8379744552468830309m_6109468114457130501gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div><div>Devin Acosta</div><div><br></div></div></div>
</font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" rel="noreferrer" target="_blank">https://www.varnish-cache.org/<wbr>lists/mailman/listinfo/varnish<wbr>-misc</a><br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" rel="noreferrer" target="_blank">https://www.varnish-cache.org/<wbr>lists/mailman/listinfo/<wbr>varnish-misc</a><br></blockquote></div><br></div>