0

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?

Charles
  • 570
  • 11
  • 29

0 Answers0