Skip to content
Back to skills

Turn Postgresql Logs Into Incident And Tuning Reports With Pgbadger

ASecurity

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

  • 36 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added June 8, 2026
ai-agentsgoshellsqlgitsecuritydocumentation

Security analysis

A100/100

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill turn-postgresql-logs-into-incident-and-tuning-reports-with-pgbadger --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Turn Postgresql Logs Into Incident And Tuning Reports With Pgbadger?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Turn Postgresql Logs Into Incident And Tuning Reports With Pgbadger
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-turn-postgresql-logs-into-incident-and-tuning-repo/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-turn-postgresql-logs-into-incident-and-tuning-repo)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Turn PostgreSQL logs into incident and tuning reports with pgBadger"
slug: "turn-postgresql-logs-into-incident-and-tuning-reports-with-pgbadger"
description: "Use pgBadger when an agent needs to convert raw PostgreSQL logs into readable evidence about slow queries, errors, and workload hotspots after an incident."
github_stars: 3994
verification: "security_reviewed"
source: "https://github.com/darold/pgbadger"
author: "darold"
publisher_type: "individual"
category: "Runbooks & Diagnostics"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "darold/pgbadger"
  github_stars: 3994
---

# 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

Basic usage or getting-started notes:
- PostgreSQL log analyzer with fully detailed reports and graphs.
- Arguments:
- logfile can be a single log file, a list of files, or a shell command

- Source: https://github.com/darold/pgbadger
- Extracted from upstream docs: https://raw.githubusercontent.com/darold/pgbadger/HEAD/README.md

## Documentation

- https://pgbadger.darold.net/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/turn-postgresql-logs-into-incident-and-tuning-reports-with-pgbadger/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.