GELF decoder's default framer with TCP input does not match the encoder's default #20768
Labels
domain: codecs
Anything related to Vector's codecs (encoding/decoding)
type: bug
A code related bug.
A note for the community
Problem
As discussed in #18008, the GELF encoder was using newline delimited but graylog expected it to be '\0' delimited (https://go2docs.graylog.org/5-0/getting_in_log_data/gelf.html)
Reviewing the code, it seems that the GELF decoder is still using the newline delimiter as default in TCP inputs
vector/src/sources/socket/mod.rs
Line 123 in 3de6f0b
vector/lib/codecs/src/decoding/mod.rs
Line 337 in 3de6f0b
Should this be changed to match the encoder's default and read streaming gelf with the '\0' delimiter?
Configuration
No response
Version
0.40.0
Debug Output
No response
Example Data
No response
Additional Context
No response
References
#18008
The text was updated successfully, but these errors were encountered: