Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

maratsh/syslogng-to-sentry

Repository files navigation

syslog-ng to sentry destination

Requirements

  • syslog-ng 3.10
  • python-2.7
  • python-raven 6.1.0

Installation

  • Install Syslog-ng with syslog-ng python destination module
  • Place sng2sentry.py somewhere in system
  • set PYTHONPATH for syslog-ng to the sng2sentry
  • Create project in sentry and copy DSN
  • Configure Sentry destination by syslog-ng.conf.example
  • Run syslog-ng

syslog to sentry level mapping

Syslog and sentry has different level mapping

This driver maps syslog level that way:

debug (the least serious) 7
info 5-6
warning 4
error 3
fatal (the most serious) 0-2

About

sentry destination python driver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published