#support

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.

Powered by Struct AI

1

Sep 19, 2023 (2 months ago)
Ju
Photo of md5-d9ca032e3941589aafa8433269974f96
Ju
04:38 AM
Hello.
I'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. 🙂
Image 1 for Hello.
I'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. :slightly_smiling_face:Image 2 for Hello.
I'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. :slightly_smiling_face:
nitya-signoz
Photo of md5-a52b9d6c34f193d9a1ff940024f36f77
Ju
Photo of md5-d9ca032e3941589aafa8433269974f96
Ju
04:44 AM
nitya-signoz
Thank you for answer. I'll check it out.
07:27
Ju
07:27 AM
nitya-signoz
I 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?
Image 1 for <@4K1788>
I 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?Image 2 for <@4K1788>
I 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?