pgBadger is a PostgreSQL log analyzer built for speed with fully detailed reports and graphs.
This pgBadger distribution is provided by the upstream GitHub repository,
packed into the debian-13-slim Sourcemation container.
Run a temporary container with pgBadger to analyze a log file:
docker run --rm -v /path/to/your/postgresql.log:/log.txt -v $(pwd):/output sourcemation/pgbadger /log.txt -o /output/report.html
Or pipe the log content:
cat postgresql.log | docker run --rm -i -v sourcemation/pgbadger - -o - > report.txt
Or pipe the log content and generate HTML report in the current directory:
cat postgresql.log | docker run --rm -i -v $(pwd):/output sourcemation/pgbadger - -o /output/report.html
The sourcemation/pgbadger image comes in debian-13-slim flavor. The tag
latest refers to the Debian-based flavor.
We'd love for you to contribute! You can request new features, report bugs, or submit a pull request with your contribution to this image on the Sourcemation GitHub repository.
Disclaimer: The sourcemation/pgbadger image is not affiliated with the
pgBadger project. The sourcemation/pgbadger image is a separate project and
is maintained by Sourcemation.
A detailed risk analysis report of the image and its components can be found on the Sourcemation platform.
For more information, check out the pgBadger website.
The base license for the solution (pgBadger) is the PostgreSQL License. The licenses for each component shipped as part of this image can be found on the image's appropriate Sourcemation entry.
Content type
Image
Digest
sha256:784d34d45…
Size
45.4 MB
Last updated
13 days ago
docker pull sourcemation/pgbadger