An open API service indexing awesome lists of open source software.

https://github.com/exhuma/postgresql-logmon

Simple monitor for PostgreSQL CSV logs
https://github.com/exhuma/postgresql-logmon

Last synced: about 1 month ago
JSON representation

Simple monitor for PostgreSQL CSV logs

Awesome Lists containing this project

README

          

Simple log monitor for PostgreSQL CSV logs.

To enable CSV logs, please refer to the PostgreSQL docs.

This monitor takes into account that some queries might contain newlines, and
properly parses the records.

Installation::

pip install --user git+https://github.com/exhuma/postgresql-logmon.git

After running as user installation like above, run it like this::

~/.local/bin/pglogmon --help

Or start monitoring right away::

~/.local/bin/pglogmon /psth/to/postgresql.csv