Product Information
What is Rsyslog-postgres-tools?
rsyslog-postgres-tools is a Python-based suite of utilities designed for interacting with, searching, and managing system log events stored in a PostgreSQL database by the rsyslog daemon. The toolkit includes the following features:
- A web viewer for logs, featuring integrated search capabilities and user-defined formatting.
- An OpenAPI 2.0 (also known as Swagger) REST API for conducting programmatic searches or developing custom applications that utilize the log data stored in the database.
- A database cleanup script to facilitate the automatic removal of outdated log entries.
- A command-line "tail" script (similar to "tail -f") that monitors and prints new system log events as they appear in the database.
- A command-line "search" script enabling users to search for and report on matching system log events stored in the database.
This toolset can be installed as a Python package or deployed as a Docker container and is intended to be used with rsyslog in conjunction with the ompgsql module.
How to use Rsyslog-postgres-tools?
rsyslog-postgres-tools is a set of Python-based tools for interacting with, searching, and managing syslog events stored in a PostgreSQL database by the rsyslog daemon. It offers log viewing, searching, and management capabilities.
Core Functions of Rsyslog-postgres-tools
Web Log Analysis
Logging
Usage Scenarios of Rsyslog-postgres-tools
- View and search syslog logs via a web interface with custom formatting.
- Use OpenAPI 2.0 REST API for programmatic searches or custom log app development.
- Automate the cleanup of expired log entries in PostgreSQL databases.
- Monitor new syslog events in databases in real-time via command-line tools.
- Search and report matching syslog events in databases via the command line.
Common Questions about Rsyslog-postgres-tools
What does rsyslog-postgres-tools do?
How do I use rsyslog-postgres-tools?
What are the core features of rsyslog-postgres-tools?
What are the use cases for rsyslog-postgres-tools?



















