Skip to main content

Send syslog messages to Sentry as events

Project description

https://github.com/rpatterson/sentry-syslog/workflows/Run%20linter,%20tests%20and,%20and%20release/badge.svg

The sentry-syslog command-line script sends RFC 5424 IETF Syslog Protocol message to Sentry as events as follows:

  1. Re-configures Python’s logging facility to closer match Syslog

  2. Initializes Sentry’s Python logging integration

  3. Accepts one message per-line

  4. Converts each message into a Python logging message

  5. Logs the Python message to be handled by the Sentry’s Python logging integration

This can be used, for example, with Rsyslog’s omprog output module as the binary to selectively forward a system’s syslog messages to Sentry as events. See the example omprog configuration.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sentry-syslog-0.1.1.tar.gz (10.0 kB view hashes)

Uploaded Source

Built Distribution

sentry_syslog-0.1.1-py3-none-any.whl (9.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page