I have a SpringBoot app that sends every log entry to ELK stack using logback in combination with Slf4j. The encoder is LogstashEncoder. How can I escape every log entry right before sending it to ELK using LogstashTcpSocketAppender? Or the \n and \r are automatically escaped already before sending?
Asked
Active
Viewed 34 times