[squid-users] Custom requirement from Squid proxy logs

leo at technomicssolutions.com leo at technomicssolutions.com
Thu Feb 5 20:01:35 UTC 2015


Hi all,

 I am having a custom requirement. I am monitoring my websites Google Analytics from proxy logs. My website users will be given with my Squid login details and once they login and visit my website, I can get sample logs like this from squid log.

 ===========================

 1423165907.508 122.174.196.92 TCP_MISS 200 GET HIER_DIRECT www.google-analytics.com image/gif http://www.google-analytics.com/__utm.gif?utmwv=5.6.2&utms=1&utmn=55310831&utmhn=www.myntra.com&utmt=event&utme=5(Scroll%20Depth%20-%20Home*Percentage*Baseline)(1)8(3!styleRevenueAdjusted6)9(3!test11)11(3!1)&utmcs=UTF-8&utmsr=1366x768&utmvp=1351x647&utmsc=24-bit&utmul=en-us&utmje=0&utmfl=11.2%20r202&utmdt=Online%20Shopping%20India%20-%20Shop%20Online%20for%20Branded%20Shoes%2C%20Clothing%20%26%20Accessories%20in%20India%20%7C%20Myntra.com&utmhid=903208277&utmr=http%3A%2F%2Fwww.google.com%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26source%3Dweb%26cd%3D1%26ved%3D0CCMQFjAA%26url%3Dhttp%253A%252F%252Fwww.myntra.com%252F%26ei%3DLcrTVKONIOTfsAT5xIHQDQ%26usg%3DAFQjCNGo7BJaaJUvqDkxZrfODUrcRXfjBw%26sig2%3Dhfw4tyHy9Tvaxb0nd7BROw%26bvm%3Dbv.85464276%2Cd.cWc&utmp=%2F&utmpg=1:Home%20Page&utmht=1423166006204&utmac=UA-1752831-1&utmni=1&utmcc=__utma%3D147427048.95111128.1423166006.1423166006.1423166006.1%3B%2B__utmz%3D147427048.1423166006.1.1.utmcsr%3Dgoogle%7Cutmccn%3D(organic)%7Cutmcmd%3Dorganic%7Cutmctr%3D(not%2520provided)%3B&utmjid=&utmu=4RAAAAAAAAAAAAAAAAAAABAE%7E

 ============================

 However I can't find what "user" they are logged in as.. The above log is not of my website, however I posted a log for a random website which used Google Analytics. 

 My question is, can I fetch the user name that visitor "logged in" with SquidProxy... Please let me know if any alternatives you are aware of.

 Thanks in advance,
 Leo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150205/173b4597/attachment.html>


More information about the squid-users mailing list