Hello,
on my logstash pipeline I receive logs that contain "\n" character as follows
"message" : "aaaa\nbbbbb"
When sending this log using tcp output plugin, the destination receives the log on two lines
aaaa
bbbb
Is there a way (an option) that make logstash send this like a single line
any input will help
regards
Badger
December 14, 2021, 5:55pm
2
The default codec on a tcp input is line, and the default delimiter for that codec is \n.
If you want to use a different delimiter then set the codec in the input and specify the delimiter option on it.
tcp is a stream oriented protocol, not message oriented. The data must be delimited to create messages.
system
(system)
Closed
January 11, 2022, 5:56pm
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.