pino-postgres
JSON →pino-postgres is a pino transport that writes log entries to a PostgreSQL database. Version 0.0.41 is the latest stable release, last updated in 2020 with a low release cadence (no recent updates). It works as a command-line pipe transport, consuming pino NDJSON from stdin and inserting into a specified PostgreSQL table. Unlike other pino transports like pino-pretty (console output) or pino-elasticsearch (Elasticsearch), it targets PostgreSQL persistence without requiring a separate log shipper. It requires manual table creation with a jsonb column and offers configurable flush interval, buffer size, SSL support, and pass-through mode.
Resources
packagepino-postgres ↗