[squid-users] Calculate time spent on website (per ip address)

Yuri Voinov yvoinov at gmail.com
Tue Feb 10 22:04:58 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You can't get any meaningful info about client connections times
without cache_object://localhost/active_requests access.

11.02.15 3:58, Luis Miguel Silva пишет:
> I did not know about sqtop. Too bad it requires access to Squid's
> manager interface (I was hoping it used access.log or
> something)...
> 
> Any other tools you know that might provide me with (time usage)
> statistics from access.log (I don't want to reinvent the wheel here
> :o)).
> 
> On Tue, Feb 10, 2015 at 2:52 PM, Yuri Voinov <yvoinov at gmail.com>
> wrote:
> 
> Hmmmmmmm.... Access.log? sqTop?
> 
> 11.02.15 3:50, Luis Miguel Silva пишет:
>>>> Dear all,
>>>> 
>>>> I was wondering if there is a built in feature in Squid to 
>>>> calculate the time spent on a website, per ip address (e.g.
>>>> 32 minutes between 12pm and 1pm, 5 minutes between 1pm and
>>>> 2pm)? And, if not, how would you do it?
>>>> 
>>>> I immediately thought about using the log files for this
>>>> BUT, because we only log individual connections, how would
>>>> you guys conclude the amount of time spent per website? Would
>>>> you, for instance, for each 5 minutes, add 5 minute chunks IF
>>>> there was data flowing between the 5 minutes?
>>>> 
>>>> That would work but...Isn't there a more elegant way of
>>>> doing this?
>>>> 
>>>> Thanks, Luis
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________ squid-users
>>>> mailing list squid-users at lists.squid-cache.org 
>>>> http://lists.squid-cache.org/listinfo/squid-users
>>>> 
>> _______________________________________________ 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

iQEcBAEBAgAGBQJU2oCKAAoJENNXIZxhPexGlH0H/RnBx4OqPOHznjMRacL5SLIH
3fRBKhwRffgGxLKKznIiRTBvn86fO/q/pRwrX/kv4TFPhtOAKsPcsDlbybrtAy+k
4TXozLupSDCP9eMJXC8+DrGKUbA5xhxSzKEzG88J/cfjZL++wvqjlJzzreAO6HdH
y7N5EH5apdEutMqp0b62Rt4xJC9eBZq5NUMgEpPcvGZLPkbIpt1jpE0ttUP2L9II
KmsRw/uZinhl8WjCQm7f6gTqmlG/j1VSXBpBd+GVD46ioIk1QBYxngjz17yzZ3sd
1bRKMWMYN8B5Xn0QCHmMzjGFhy2NMpTdu3TkMjoPnYqYKmbb0USv0YoUnqh8q7A=
=Trbl
-----END PGP SIGNATURE-----


More information about the squid-users mailing list