SystemdJournal2Gelf icon indicating copy to clipboard operation
SystemdJournal2Gelf copied to clipboard

Add TCP support

Open nu-lda opened this issue 6 years ago • 2 comments

This Go-Binary currently doesn't support sending the logs via TCP. For a more secure Graylog deployment sending logs via TCP with TLS is recommended. Is there a way to implement the option of using TCP as transport instead of UDP?

nu-lda avatar Dec 02 '19 13:12 nu-lda

There seems to be some progress on this in https://github.com/Graylog2/go-gelf/tree/v2 - but apparently that still doesn't support TLS

SjonHortensius avatar Dec 02 '19 13:12 SjonHortensius

Thanks for your answer. Looking into the go-gelf repo I also found https://github.com/Graylog2/go-gelf/tree/tls Although it's not documented in the README it looks to me like there's an implementation for TLSWriter in there. Have you considered adding an option of choosing which writer to use when launching the compiled binary (via command line option etc.)?

nu-lda avatar Dec 03 '19 07:12 nu-lda