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
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.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.