-
Notifications
You must be signed in to change notification settings - Fork 320
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
[ECS Fargate] [request]: Partial_message field not included in platform version 1.4.0 #1550
Comments
I suspect this will require changes in the shim loggers: https://github.com/aws/amazon-ecs-shim-loggers-for-containerd |
I should note that my original examples are not complete, this is what real split logs should look like, note the multiple partial message fields:
|
What will it take to get this prioritised? Is there any ETA? It seems that related discussions have been rumbling on since at least November 2020: aws/aws-for-fluent-bit#100 |
@marksumm I can not provide an ETA or launch date, however, this hasn't been forgotten and I am working on it. |
@marksumm implementation complete: aws/shim-loggers-for-containerd#24 |
Great news! Thanks for your work on this. |
@PettitWesley - What is this issue pending now? |
Can you please close this issue as it's been implemented? |
Community Note
Tell us about your request
In all container runtimes that I am aware of, stdout/stderr messages from containers are split after a certain limit. In Docker, CRI, and containerd, IIRC the limit is always 16 KB. This means that if you emit messages larger than 16KB from your container, they will be split into multiple messages.
You can then use a tool like Fluentd (Fluent Bit support is something I am working on: aws/aws-for-fluent-bit#25), to concatenate those records back into one. However, this relies on the runtime setting some flag to tell you that the series of messages you are receiving was actually originally one message.
The Fluentd Plugin Concat can join these back together: https://github.com/fluent-plugins-nursery/fluent-plugin-concat
To understand how this works, let's look at the example from the Fluentd plugin unit test: https://github.com/fluent-plugins-nursery/fluent-plugin-concat/blob/master/test/plugin/test_filter_concat.rb#L551
Which service(s) is this request for?
ECS Fargate
Are you currently working around this issue?
I am not aware of any way to work around this.
The text was updated successfully, but these errors were encountered: