Skip to content

Commit 5746d1e

Browse files
committed
filter_multiline: docker logs are split at 16KB not 32KB
Signed-off-by: Wesley Pettit <[email protected]>
1 parent d75b9e4 commit 5746d1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pipeline/filters/multiline-stacktrace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ The lines that did not match a pattern are not considered as part of the multili
258258

259259
## Docker Partial Message Use Case
260260

261-
When Fluent Bit is consuming logs from a container runtime, such as docker, these logs will be split above a certain limit, usually 32KB. If your application emits a 500K log line, it will be split into 16 partial messages. If you are using the [Fluentd Docker Log Driver](https://docs.docker.com/config/containers/logging/fluentd/) to send the logs to Fluent Bit, they might look like this:
261+
When Fluent Bit is consuming logs from a container runtime, such as docker, these logs will be split above a certain limit, usually 16KB. If your application emits a 100K log line, it will be split into 7 partial messages. If you are using the [Fluentd Docker Log Driver](https://docs.docker.com/config/containers/logging/fluentd/) to send the logs to Fluent Bit, they might look like this:
262262

263263
```
264264
{"source": "stdout", "log": "... omitted for brevity...", "partial_message": "true", "partial_id": "dc37eb08b4242c41757d4cd995d983d1cdda4589193755a22fcf47a638317da0", "partial_ordinal": "1", "partial_last": "false", "container_id": "a96998303938eab6087a7f8487ca40350f2c252559bc6047569a0b11b936f0f2", "container_name": "/hopeful_taussig"}]

0 commit comments

Comments
 (0)