Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

partial_message mode KO with stdout but OK with stderr #853

Open
tophfr opened this issue Aug 27, 2024 · 0 comments
Open

partial_message mode KO with stdout but OK with stderr #853

tophfr opened this issue Aug 27, 2024 · 0 comments

Comments

@tophfr
Copy link

tophfr commented Aug 27, 2024

Describe the question/issue

I tried to run the multiline example from https://github.com/aws-samples/amazon-ecs-firelens-examples/tree/mainline/examples/fluent-bit/filter-multiline-partial-message-mode

It works fine for me, but in stdout the last part is not concatenated with the rest of the message.

I tested serveral file contents with different sizes, I always get 2 log entries. The second one with the last splitted part of the content.

But with stderr, everything is OK : I get only one entry with the entire content.

Configuration

https://github.com/aws-samples/amazon-ecs-firelens-examples/blob/mainline/examples/fluent-bit/filter-multiline-partial-message-mode/custom-fluent-bit-with-config/extra.conf

Fluent Bit Version Info

public.ecr.aws/aws-observability/aws-for-fluent-bit:2.32.2.20240724 (=stable)

Cluster Details

ECS on EC2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant