darold / squidanalyzer

Squid Analyzer parses Squid proxy access log and reports general statistics about hits, bytes, users, networks, top URLs, and top second level domains. Statistic reports are oriented toward user and bandwidth control.
http://squidanalyzer.darold.net/
126 stars 36 forks source link

time spent on the sites #142

Closed alexgoncalvesjp closed 5 years ago

alexgoncalvesjp commented 8 years ago

Hello First congratulations on the excellent Squid Analyzer project I have a question regarding the users of time spent on each site visited. I believe it has something wrong with the length calculation of the visited site because some sites time is much greater than the period prescribed daily person such work. See the attached example Thank you timeuser

darold commented 8 years ago

Hi,

This column does not report the time spent by a user on each site visited, but the sum of duration of the objects downloaded from those sites. Each image, html pages, css or javascript file, etc. are downloaded from a site in parallel when a user connect to the web site. The column only report the cumulative duration of all these download. It is impossible to know the time spent by a user on internet, most of web site have auto refresh or javascript query that continue to spend time on internet without any user interaction. This value is reported just to have an idea of the poor performances of a site where is a high cumulative duration and lot of object requested.

Best regards,