DEV Community

Cover image for Monitor Squid Proxy with Goaccess
hardyweb
hardyweb

Posted on

1

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)

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay