Monitor Squid Proxy with Goaccess

hardyweb - Aug 29 - - Dev Community

Ni nota aku...

Install

sudo apt install goaccess 
Enter fullscreen mode Exit fullscreen mode

enable access_log in squid.conf

access_log /var/log/squid/access.log squid
Enter fullscreen mode Exit fullscreen mode
sudo systemctl restart squid
Enter fullscreen mode Exit fullscreen mode
goaccess /var/log/squid/access.log --log-format='%x.%^ %~ %L %h %^/%s %b %m %U %^' --date-format=%s --time-format=%s --http-protocol=no --ignore-panel=BROWSERS --ignore-panel=OS --ignore-panel=REFERRING_SITES
Enter fullscreen mode Exit fullscreen mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .