Solving Docker Logs Timeout Issue with Vector

TLDR Kirubel faced issue with docker logs timing out. Hengfei suggested batch size limit in vector.

Photo of Hengfei
Hengfei
Tue, 21 Nov 2023 09:35:51 UTC

default 200MB

Photo of Kirubel
Kirubel
Tue, 21 Nov 2023 09:54:11 UTC

Thank you Hengfei. When i push a docker logs from vector a request that contain long lines like stack traces times out

Photo of Hengfei
Hengfei
Tue, 21 Nov 2023 09:55:43 UTC

timeout, maybe the port or the address is wrong? even you override 200MB, it will report error.

Photo of Kirubel
Kirubel
Tue, 21 Nov 2023 09:56:05 UTC

no I can see some of the logs

Photo of Kirubel
Kirubel
Tue, 21 Nov 2023 09:56:34 UTC

so I don't think there port and address are wrong

Photo of Hengfei
Hengfei
Tue, 21 Nov 2023 09:58:12 UTC

sure, maybe you can add some batch size limit in vector

Photo of Kirubel
Kirubel
Tue, 21 Nov 2023 10:00:26 UTC

okay thank you so much Hengfei