Skip to main content

A parser for BSD syslog protocol (RFC 3164) messages

Project description

A parser for BSD syslog protocol (RFC 3164) messages

This library was extracted from syslog2IRC.


  • Python 2.7+ or 3.3+
  • enum34 (on Python versions before 3.4)


Install this package via pip:

$ pip install syslogmp

On Python versions before 3.4, the enum34 package should be installed automatically.


To parse a syslog message:

from syslogmp import parse

# Parse data (usually received via network).
message = parse(data)

# Let's see what we've got here.

Further Reading

For more information, see RFC 3164, “The BSD syslog Protocol”.

Please note that there is RFC 5424, “The Syslog Protocol”, which obsoletes RFC 3164. This package, however, only implements the latter.

Copyright:2007-2016 Jochen Kupperschmidt
License:MIT, see LICENSE for details.

Download files

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

Files for syslogmp, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size syslogmp-0.2.2-py2.py3-none-any.whl (8.6 kB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size syslogmp-0.2.2.tar.gz (7.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page