Discussion:
[squid-users] Analize squid3 por conexion
Ikari C
2018-10-07 15:33:14 UTC
Permalink
Hi, i use squid3 for proxy in my lan, and it's works very well, but i wish
analize the log in real time per conecction and the speed that conection
use , for example, i want to see the traffic by host 192.168.0.2 (all the
conecctions or talks to the host), somthing like htop but for the
"access.log", what kind of sofware con you recommend me? thanks for your
time.

P.D. sorry for my english
Amos Jeffries
2018-10-07 23:20:49 UTC
Permalink
Post by Ikari C
Hi, i use squid3 for proxy in my lan, and it's works very well, but i
wish analize the log in real time per conecction and the speed that
conection use , for example, i want to see the traffic by  host
192.168.0.2 (all the conecctions or talks to the host), somthing like
htop but for the "access.log", what kind of sofware con you recommend
me? thanks for your time.
There is a list of software known to be able to process Squid log files
at <http://www.squid-cache.org/Misc/log-analysis.html>. Most of these
are for post-processing of the log data though.

Personally I use the DB logging daemon shipped with Squid to store data
into a database and custom report generators based on squidview to
display the data customers need/want to see.

Amos
Alex Rousskov
2018-10-07 23:22:04 UTC
Permalink
Post by Ikari C
Hi, i use squid3 for proxy in my lan, and it's works very well, but i
wish analize the log in real time per conecction and the speed that
conection use , for example, i want to see the traffic by  host
192.168.0.2 (all the conecctions or talks to the host), somthing like
htop but for the "access.log", what kind of sofware con you recommend
me? thanks for your time.
No software can give you a "live" or "real time" view of Squid
connections based on access.log info because access.log only contains
records of past/completed transactions, not current/live ones.

I do not think there is any Squid interface that was designed (and is
appropriate) for true live traffic monitoring, but you may get some
"current usage" information from the Cache Manager interface:
https://wiki.squid-cache.org/Features/CacheManager

If you are content with only looking at past/finished/completed
transactions, then there are probably some tools that can be fed
access.log entries as Squid produces them and that can display nearly
"live" statistics based on those entries, but I personally cannot
recommend any.
Alex.
Ikari C
2018-10-08 14:34:07 UTC
Permalink
Thanks, for your time. I will take your advice into account. Have a nice
day.

Loading...