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
Metadata
Release files for pglogmon 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pglogmon-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pglogmon-1.0.0-py3-none-any.whl
| Download URL | pglogmon-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
169c8322c77de03c48c60ee07e9696f16202aea803610110e487de9cb62cafe4
|
|
BLAKE2b-256 checksum How to use checksums |
e0124952e2be5ecfd9742ce8ddb954e1ed111a9a15fd2313d5c38e073b27d5c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |