Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

smoya/syslog-format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Report Card Build License

Repository archived. No longer actively maintained.

This project is not maintained anymore. I recommend you using https://github.com/influxdata/go-syslog/blob/develop/rfc5424/builder.go instead, which has all the features this library provided plus tons of others. It is also maintained by the InfluxDB engineering team, which ensures continuity on development.

syslog-format

A syslog formatter Golang library.

Standards

This library formats syslog messages according the RFC5424 and RFC3164.

Installation

$ go get github.com/smoya/syslog-format

Test

Coverage: https://gocover.io/github.com/smoya/syslog-format

TODO

  • Port syslog pkg dial functionality and adapt it with this formatter. The syslog only supports the RFC3164.
  • Add support for multiple structured data chunks. Right now only supports one, with the name context@{pid}.
  • Add support for standard structured data SD-ID. More info here.

About

A simple Golang library for formatting syslog messages.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages