[squid-users] Custom requirement from Squid proxy logs

leo at technomicssolutions.com leo at technomicssolutions.com
Thu Feb 5 21:23:45 UTC 2015


Actually, I have multiple websites and some using Google Analytics and some uses Adobe. That is why I concentrated on SquidProxy as it logs corresponding entries for all types of analytics. Just to make a analytics independent, can we have any sort of solution..

 Thanks for the advise,
 Leo
 February 6 2015 2:32 AM, "Yuri Voinov"  wrote:  

	  
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
  
 Hmmmmm. AFAIK, Google Analythics has web-site monitoring capability for webmasters. In doubt about username logging capabilities (I've used it years ago).

 06.02.2015 2:59, leo at technomicssolutions.com (mailto:leo at technomicssolutions.com) пишет:
> Thank you Yuri.
 >
 > Can you suggest any of the web application framework or method to get this done.. Can I do the same with web application if I don't have access to the website hosted server.
 >
 > In between, I found the following from squid config file.
 >
 > ===========================
 >
 >
 >  Defined keywords:
 > #
 > #         user=         The users name (login)
 > #         password=     The users password (for login= cache_peer option)
 > #         message=      Message describing the reason. Available as %o
 > #                       in error pages
 > #         tag=          Apply a tag to a request (for both ERR and OK results)
 > #                       Only sets a tag, does not alter existing tags.
 > #         log=          String to be logged in access.log. Available as
 > #                       %ea in logformat specifications
 >
 >
 > ============================
 >
 > Can this make any help with my requirements.
 >
 > Thanks in advance,
 > Leo
 >
 > February 6 2015 2:20 AM, "Yuri Voinov"  wrote:
 >
 >     
 >
 >
 > I think, you can't.
 >
 > The single alternative I see - using Web-application capabilities.
 >
 >
 > 06.02.2015 2:01, leo at technomicssolutions.com (mailto:leo at technomicssolutions.com)  (mailto:leo at technomicssolutions.com) пишет:
 > > 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 (http://www.google-analytics.com)  (http://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%2 (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%2) 6bvm%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  (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.142316%0D%0A%0D%0A6006.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
 >
 >
 > > _______________________________________________
 > > squid-users mailing list
 > > squid-users at lists.squid-cache.org (mailto:squid-users at lists.squid-cache.org)  (mailto:squid-users at lists.squid-cache.org)
 > > http://lists.squid-cache.org/listinfo/squid-users (http://lists.squid-cache.org/listinfo/squid-users)
 >
 >     
 >
 >     
 >

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2
  
 iQEcBAEBAgAGBQJU09pmAAoJENNXIZxhPexGyZgH/1QPEhpTTWpnQ7P56MzdX9J3
 LEjBk0qqyiWnUY96enIZwZ5k+LVMBQe4ACZHHAbt8r7wG3hgXEsVd7Zf6xODpbBJ
 f/nIvGOxdFg5gQT+4Ybtb+bPvq9laiFk7pIbZf1BjI1dJrOT96b6dNalvOk+S9FY
 s0opzEHEXwGQdNV8jiXORyLc6JiQaxgK8F9P9AROuGW9giazcGK4Bb8Ec2u03qE9
 TeVCD6jDuq/laqn0zS+10TDjpejg0cmxmdD2XvoVlbI4HJj16QTUafQk/AhewUOL
 G8yLBYzXMoB0Ya+F8MOpkva3qzwk1RvkbXXdoe5dYGloNe7BmvTex74E1+RRW1k=
 =b/jR
 -----END PGP SIGNATURE-----
    

	 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150205/1a2d3efa/attachment.html>


More information about the squid-users mailing list