Web-based PostgreSQL log analyzer GUI developed by InfraYantra Labs
53
A self-contained web GUI for analyzing PostgreSQL server logs with pgBadger, the full-featured PostgreSQL log analyzer. Upload log files or point the container at a mounted log directory, and get a complete HTML performance report without touching the command line.
docker run -d --name pg_analyzer -p 8080:8080 \
-v /path/to/postgresql/logs:/data/logs:ro \
-v pg_analyzer_reports:/data/reports \
-v pg_analyzer_uploads:/data/uploads \
infrayantra/pg_analyzer:latest
Then open http://localhost:8080 in a browser.
| Path | Purpose |
|---|---|
| /data/logs | Mount your PostgreSQL log directory here, read-only |
| /data/reports | Generated pgBadger HTML reports |
| /data/uploads | Temporary storage for uploaded log files (auto-cleaned) |
| /data/incremental | State for incremental report mode |
| Variable | Default | Description |
|---|---|---|
| LOG_DIR | /data/logs | Mounted log directory |
| REPORT_DIR | /data/reports | Where reports are written |
| UPLOAD_DIR | /data/uploads | Temp upload storage |
| INCREMENTAL_DIR | /data/incremental | Incremental mode state |
| TZ | UTC | Container timezone for log parsing |
This image runs without authentication by default. PostgreSQL logs can contain query text and connection details, so restrict network access (VPN, reverse proxy, firewall) if deploying beyond a trusted local environment.
Content type
Image
Digest
sha256:86999f4de…
Size
71.7 MB
Last updated
16 days ago
docker pull infrayantra/pg_analyzer