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

Feature request: time spent on a page / denied browsing on user report page #139

Closed delumerlino closed 5 years ago

delumerlino commented 8 years ago

Good morning, the internet connections are changed, I think now any internet provider sell internet connections based on generated and received traffic. So it would be nice to change the column "internet cost" in the user report with something that let you check how much time the user spent on visiting that page. And in the same report, highlight the page if it hase been blocked by squid/squidguard.

Thank you

darold commented 8 years ago

I'm agree with that, I will change that in next major release.

delumerlino commented 8 years ago

Thanks a lot m8, hope you get time to work on it! :+1:

delumerlino commented 8 years ago

Thank you, I have seen your work. How to get in working on my squidanalyzer installation? BR Andrea

darold commented 8 years ago
wget https://github.com/darold/squidanalyzer/archive/master.zip
unzip master.zip
cd squidanalyzer-master/
 perl Makefile.PL INSTALLDIRS=vendor
make
sudo make install

Note that the default Perl installation path have been changed from vendor to site so if you are not on a BSD system you need to use INSTALLDIRS=vendor to override your previous installation. Unless you had changed it at installation time of course.

You can also override manually by copying SquidAnalyzer.pm and squid-analyzer at their actual path.

delumerlino commented 8 years ago

Thank you, I have installed but how may I check the denied urls for a user? BR Andrea

2016-08-29 10:04 GMT+02:00 Darold notifications@github.com:

wget https://github.com/darold/squidanalyzer/archive/master.zip unzip master.zip cd squidanalyzer-master/ perl Makefile.PL INSTALLDIRS=vendor make sudo make install

Note that the default Perl installation path have been changed from vendor to site so if you are not on a BSD system you need to use INSTALLDIRS=vendor to override your previous installation. Unless you had changed it at installation time of course.

You can also override manually by copying SquidAnalyzer.pm and squid-analyzer at their actual path.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/darold/squidanalyzer/issues/139#issuecomment-243058493, or mute the thread https://github.com/notifications/unsubscribe-auth/AKGw4-Cqp0J9_lS-vzEAiih-QXhTR4R0ks5qkpJ6gaJpZM4JA10- .


P Prima di stampare, pensa all'ambiente Think about the environment

darold commented 8 years ago

The "Users" menu shows you the top users, clicking on the username or ip address will give you the top list of denied URL and the TOP URL.

delumerlino commented 8 years ago

Great, thank you. I was looking for the old logs, may I rebuild them?

2016-08-29 11:51 GMT+02:00 Darold notifications@github.com:

The "Users" menu shows you the top users, clicking on the username or ip address will give you the top list of denied URL and the TOP URL.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/darold/squidanalyzer/issues/139#issuecomment-243082148, or mute the thread https://github.com/notifications/unsubscribe-auth/AKGw4_iQZGp5hWcLAJQmStuRYaqJdH8iks5qkquQgaJpZM4JA10- .


P Prima di stampare, pensa all'ambiente Think about the environment

darold commented 8 years ago

Yes

delumerlino commented 8 years ago

Do I need original logs or may I rebuild the pages?

2016-08-29 11:59 GMT+02:00 Darold notifications@github.com:

Yes

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/darold/squidanalyzer/issues/139#issuecomment-243083923, or mute the thread https://github.com/notifications/unsubscribe-auth/AKGw44pyC6LLWMezHDSoeCUKqX9IS0K7ks5qkq2agaJpZM4JA10- .


P Prima di stampare, pensa all'ambiente Think about the environment

darold commented 8 years ago

No you don't need the old log, the --rebuild option will recreate all report from the data file when they are still available.

delumerlino commented 8 years ago

Wow, it worked great! How to get the time spent on the web site? Just to understand if a blocked site is a banner (such as facebook and/or streming services) or really clicked...

thank you!

2016-08-29 12:40 GMT+02:00 Darold notifications@github.com:

No you don't need the old log, the --rebuild option will recreate all report from the data file when they are still available.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/darold/squidanalyzer/issues/139#issuecomment-243091085, or mute the thread https://github.com/notifications/unsubscribe-auth/AKGw43XPDyps-sbyuq31nxL7RJrF6hmsks5qkrcMgaJpZM4JA10- .


P Prima di stampare, pensa all'ambiente Think about the environment

darold commented 8 years ago

Time spent is still in the todo list