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
- Host: GitHub
- URL: https://github.com/exhuma/postgresql-logmon
- Owner: exhuma
- License: mit
- Created: 2013-04-24T13:28:33.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2017-04-11T13:03:07.000Z (about 9 years ago)
- Last Synced: 2025-09-22T18:56:05.129Z (9 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
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