<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">https://github.com/AndreiG6/vscp</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_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>______________________________<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>