syslog-rfc5424-parser
syslog-rfc5424-parser copied to clipboard
A small Python module to parse RFC5424-formatted Syslog messages
Fixes #15. Technically violates §6 and §6.2.2 of the RFC, but meh.
👋 Hi! I'm probably doing something wrong but it seems this library doesn't parse correctly Heroku Logplex HTTPS drain logs that are defined as: > With HTTPS drains, Logplex buffers...
**0** 2020-08-07T05:35:04+05:30 localhost root[6045]: root 6045 - Sample Message Here is a sample syslog message. When Version = 0, parsing fails SyslogMessage.parse(r'0 2020-08-07T05:35:04+05:30 localhost root[6045]: root 6045 - Sample Message')...