Configuring Docker Container Logs Collection
TLDR Ju is trying to collect Docker container logs as a single body. nitya-signoz suggested using multiline settings for logspout or the recombine operator. However, Ju encounters an issue with their otel-collector port not activating as UDP.
1
Sep 19, 2023 (2 months ago)
Ju
04:38 AMI'm collecting logs from Docker containers. If there is a line break in the log, each line is collected as a body. Is there a way to collect it as a single body when there is a line break?
Should I add logstransform settings to the otel-collector-config.yaml file?
Any help would be greatly appreciated. 🙂
nitya-signoz
04:43 AM1
Ju
04:44 AMThank you for answer. I'll check it out.
Ju
07:27 AMI installed logspout and set the adapter to multiline+raw. However, port 2255 of signoz-otel-collector is not activated as UDP. Do I need any other settings?
SigNoz Community
Indexed 1023 threads (61% resolved)
Similar Threads
Removing Default Logs and Collecting Application Logs
Srikanth wanted to remove default logs and collect their application logs. nitya-signoz provided two solutions, and Srikanth chose the second one, which involves editing the ote-collector-config.yaml file.
Issues with Transmitting Logs from Logstash to Signoz
Krishnadas struggled to transmit logs from Logstash to Signoz. After a rich dialogue with Prashant and nitya-signoz, the issue was resolved when Krishnadas removed the existing docker container logs receiver and added the filelog receiver for their logs folder.
Troubleshooting and Adding Log Files to SigNoz POC
Noor has requested help with incorporating log files into their SigNoz POC. In collaboration with vishal-signoz and nitya-signoz, they managed to successfully setup and resolve their issues.