Hey, As Andrei said, you could use Google Analytics and it works fine. I'm using this method for my own website. I wrote an article about, but it's in french. I still share this link https://tutoandco.colas-delmas.fr/software/varnish/statistiques-varnish-hit-vs-miss-google-analytics/
There the english version : https://tutoandco.colas-delmas.fr/en/software-en/varnish-en/statistics-varnish-hit-vs-miss-google-analytics/ (it's a "private" page since the site is being translated) *Nicolas Delmas* http://tutoandco.colas-delmas.fr/ <[email protected]> 2017-03-29 5:43 GMT+02:00 Devin Acosta <[email protected]>: > > 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? > > -- > > Devin Acosta > > > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc >
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
