Turn PostgreSQL logs into incident and tuning reports with pgBadger

Installation
SKILL.md

Turn PostgreSQL logs into incident and tuning reports with pgBadger

Use pgBadger when an agent needs to convert raw PostgreSQL logs into readable evidence about slow queries, errors, and workload hotspots after an incident.

Prerequisites

pgBadger, PostgreSQL logs with compatible log settings, and a shell environment for report generation.

Installation

Use the upstream install or setup path that matches your environment:

  • make && sudo make install

Requirements and caveats from upstream:

  • Requires incremental output directories and the
  • month. Requires incremental output directories and
  • You must enable and set some configuration directives in your postgresql.conf
Installs
–
GitHub Stars
58
First Seen
–