macOS
brew install pgbadgerlocal Homebrew formula metadata
sudo port install pgbadgerMacPorts ports tree · databases/pgbadger/Portfile · ソース: api.github.com
brew / 順位 5176
pgbadger のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install pgbadgerlocal Homebrew formula metadata
sudo port install pgbadgerMacPorts ports tree · databases/pgbadger/Portfile · ソース: api.github.com
sudo apk add pgbadgerAlpine Linux edge package indexes · pgbadger · ソース: dl-cdn.alpinelinux.org
sudo apt install pgbadgerDebian stable package indexes · pgbadger · ソース: deb.debian.org
sudo dnf install pgbadgerFedora Rawhide package metadata · pgbadger · ソース: dl.fedoraproject.org
nix profile install nixpkgs#pgbadgernixpkgs package indexes · pgbadger · ソース: raw.githubusercontent.com
sudo zypper install pgbadgeropenSUSE Tumbleweed package metadata · pgbadger · ソース: download.opensuse.org
概要
Log analyzer for PostgreSQL
履歴
pgBadger is an offline PostgreSQL log analyzer that generates interactive HTML and other report formats for query performance, sessions, locks, checkpoints, autovacuum, errors, and related operational activity.
Gilles Darold created pgBadger as a fast PostgreSQL log analyzer and released its early series in 2012. It was positioned as a replacement for the older pgFouine workflow and used JavaScript-rendered graphs in self-contained reports.
The project added incremental reporting, additional log formats, richer performance and error analysis, and multiple machine-readable outputs while retaining a command-line workflow and PostgreSQL license.
pgBadger's single-command, pure-Perl design and ability to work from existing log files made it straightforward to package and run on database hosts, reporting hosts, and administrative workstations. source_facts.package-manager records availability across Homebrew and several major Unix distribution ecosystems.
Support expanded beyond ordinary PostgreSQL stderr logs to formats and environments including csvlog, jsonlog, syslog, cloud-hosted PostgreSQL logs, compressed or remote inputs, and PgBouncer statistics logs.
DBAs run pgBadger against one or more local, compressed, remote, or streamed log inputs. Common uses include identifying slow or frequent queries, inspecting errors and lock activity, evaluating checkpoints and autovacuum, and generating scheduled daily or weekly reports.
pgBadger represents the classic Unix package pattern of converting already-available operational text into a portable artifact. It provides deep PostgreSQL-specific analysis and shareable HTML reports without requiring a permanently running agent or monitoring service.
セキュリティ状態
broad file, network, media, or database tool signal.
リスク blue · 信頼度 中 · tool
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
pgbadger | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/darold/pgbadger
インストールメタデータ
| パッケージキー | brew:pgbadger |
|---|---|
| バージョン | 13.2 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/pgbadger |
| ホームページ | https://pgbadger.darold.net/ |
| リポジトリ | https://github.com/darold/pgbadger |
| 上流ドキュメント | https://pgbadger.darold.net/ |
| ライセンス | PostgreSQL |
| ソースアーカイブ | https://github.com/darold/pgbadger/archive/refs/tags/v13.3.tar.gz |
| 最終更新 | 2026-11-03T11:38:39Z |
| Pulse | updated |
| Bottle | 利用可能 (対象 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
| 注意点 | You must configure your PostgreSQL server before using pgBadger. Edit postgresql.conf (in $HOMEBREW_PREFIX/var/postgres if you use Homebrew's PostgreSQL), set the following parameters, and restart PostgreSQL: log_destination = 'stderr' log_line_prefix = '%t [%p]: [%l-1] user=%u,db=%d ' log_statement = 'none' log_duration = off log_min_duration_statement = 0 log_checkpoints = on log_connections = on log_disconnections = on log_lock_waits = on log_temp_files = 0 lc_messages = 'C' |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pgbadger |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
pgbadger 13.1-1
Fast PostgreSQL log analysis report
https://dalibo.github.io/pgbadger/
sudo apt install pgbadgerpgbadger
nix profile install nixpkgs#pgbadgerpgbadger 12.4-1
Fast PostgreSQL log analysis report
https://dalibo.github.io/pgbadger/
sudo apt install pgbadgerpgbadger 12.4-r1
A fast PostgreSQL Log Analyzer
https://github.com/darold/pgbadger
sudo apk add pgbadgerpgbadger-doc 12.4-r1
A fast PostgreSQL Log Analyzer (documentation)
https://github.com/darold/pgbadger
sudo apk add pgbadger-docpgbadger 13.2-4.fc45
PostgreSQL log analyzer with fully detailed reports and graphs
https://github.com/darold/pgbadger
sudo dnf install pgbadgerpgbadger 13.2-1.5
A fast PostgreSQL log analyzer
sudo zypper install pgbadgerpgbadger
sudo port install pgbadgerソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.