The databases/pgbadger port
pgbadger-9.2 – advanced PostgreSQL log analyzer
pgBadger is a PostgreSQL log analyzer built for speed with fully
detailed reports from your PostgreSQL log file. It's a single and small
Perl script that aims to replace and out-perform the old PHP script
to draw graphs so that you don't need additional Perl modules or any
other package to install. Furthermore, this library adds additional
features such as zooming.
pgBadger autodetects your log file format (syslog, stderr or csvlog).
It is designed to parse huge log files, as well as gzip, zip or bzip2