logfellow / logstash-logback-encoder

Logback JSON encoder and appenders
Apache License 2.0
2.44k stars 407 forks source link

v7.3 merges individual json log records together resulting in a string intermittently. v5.3 works as expected. AWS/EKS hosted application to splunk #1002

Closed stmiller14 closed 9 months ago

stmiller14 commented 10 months ago

Describe the bug A clear and concise description of what the bug is. Intermittent issue where aws application write logs to splunk in json format. Logs are getting sent and incorrect format however intermittent issue occurs where logs will be merged into one splunk record and lose its json structre. Happens between 5-10% of logs with no pattern detected To Reproduce Steps to reproduce the behavior:

  1. Use this logback.xml configuration...
  2. Execute this logger statement (e.g. logger.debug(...)) ...
  3. See error, or unexpected output host application in aws within eks. write json logs to splunk

Expected behavior A clear and concise description of what you expected to happen. json logs records should not be merged together.

Additional context Add any other context about the problem here.

philsttr commented 10 months ago

Please provide your logback configuration

github-actions[bot] commented 9 months ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.