Skip to content

A parser for BSD (rfc3164) syslog. Aims to be compatible with the syslog-ng legacy parser.

License

Notifications You must be signed in to change notification settings

bastjan/go-legacysyslog

Repository files navigation

go-legacysyslog

⚠️ Work in progress ⚠️

A parser for BSD (rfc3164) syslog. Aims to be compatible with the syslog-ng legacy parser.

Known Incompatibilities to Syslog-NG

  • Handling of misformed priority. << results in a parsing error in Syslog-NG. We accept it as tag. < is seen as kernel emergency in Syslog-NG, we see it as tag.
  • Handling of timestamps. Syslog-NG allows space instead of zeros. Dec 1 09: 5: 2 is valid.
  • Check hostname and validate UTF8 options are not implemented.
  • Ignoring last message repeated / forwarded from messages is not implemented.

Testing

make test

About

A parser for BSD (rfc3164) syslog. Aims to be compatible with the syslog-ng legacy parser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages