[squid-users] Custom requirement from Squid proxy logs
Yuri Voinov
yvoinov at gmail.com
Thu Feb 5 20:50:06 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I think, you can't.
The single alternative I see - using Web-application capabilities.
06.02.2015 2:01, 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 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
>
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBAgAGBQJU09d9AAoJENNXIZxhPexGLJgH/R87yQlusU3b+kNhx3q6zl97
xqD7Dt+N/KPASxyJVBp0oLknutUI6bxgGKiIfrlr8sBLPSJ+o/rT/ln++zsG3sKr
pNqRo1GR/DtFjndQ8/ZAwiSoHel17PZNFTIMexmL2YSQbm1Gyf38zTQ+KQ5/AUha
e3r06Rh5shQsLFG//2FxeqCvhlhYk3nImDXYZD9+KnRWFmkAxuXT7OarquweuRmQ
ATmO7EjkrYO2+7nKMDhLbLI5s3H4UGhUV+ccD2OsGl5n3ZTh1vSpC0pDO978T6NN
N+HiVQau1/lutrLsGXcxr9rXZxoEfJG3ZK8FW2YfD39u2TqVO/IW+UfyQdecYyo=
=uFQF
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150206/d696dbed/attachment-0001.html>
More information about the squid-users
mailing list