DEV Community

Cover image for Monitor Squid Proxy with Goaccess
hardyweb
hardyweb

Posted on

Monitor Squid Proxy with Goaccess

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

Top comments (0)