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

Latest commit

 

History

History
31 lines (23 loc) · 632 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 632 Bytes

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