pgbadger

Fast PostgreSQL log analysis report

Install

All systems
curl cmd.cat/pgbadger.sh
Debian Debian
apt-get install pgbadger
Ubuntu
apt-get install pgbadger
Alpine
apk add pgbadger
image/svg+xml Kali Linux
apt-get install pgbadger
Windows (WSL2)
sudo apt-get update sudo apt-get install pgbadger
OS X
brew install pgbadger
Raspbian
apt-get install pgbadger
Docker
docker run cmd.cat/pgbadger pgbadger powered by Commando

pgbadger

Fast PostgreSQL log analysis report

pgBadger is a PostgreSQL log analyzer build for speed with fully detailed reports from your PostgreSQL log file. It's a single and small script written in pure Perl language. It uses a javascript library to draw graphs so that you don't need additional Perl modules or any other package to install. Furthermore, this library gives us more features such as zooming. pgBadger is able to autodetect your log file format (syslog, stderr or csvlog). It is designed to parse huge log files as well as gzip compressed file.