rfc5424
rfc5424 copied to clipboard
a Go library that can read and write RFC-5424 syslog messages
We're creating a message like this: ``` msg := rfc5424.Message{ Priority: rfc5424.Daemon | rfc5424.Info, Timestamp: time.Now(), Hostname: al.osHostname, ProcessID: al.osPid, AppName: "fusion", Message: p, } ``` Here, we've set AppName...
The only way to parse syslog messages is by creating an empty message struct and calling its method. I don't think this is idiomatic go. Why not just have a...
Hi @crewjam, thanks for making that code available. I'm currently experimenting with using your library to parse syslog messages that are received via a HTTPS endpoint, i.e. the client is...
Should alllow us to pool byte buffers across multiple calls.