You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Tell us about your request
I want to have multi-line json logging supported with the built-in Fluent Bit logging on ECS/Fargate.
One option would be to make proposed config available by simply referencing the path like
"config-file-value": "/container-json.conf"
instead of building custom image for that. It's not ideal we need to maintain additional image to make it work.
Which service(s) is this request for?
ECS Fargate
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Container logs are being splitted into 16kb chunks with addition of partial attributes. This prevents centralized logging system to display the logs properly.
Are you currently working around this issue?
I have built a custom image based on official AWS fluentbit image and added custom config for parsing.
Dockerfile
FROM public.ecr.aws/aws-observability/aws-for-fluent-bit:stable
ADD extra.conf /extra.conf
kgruszka
changed the title
[ECS] [Fargate]: describe request here
[ECS] [Fargate]: Partial logs concatenation with Fluentbit
Aug 10, 2023
kgruszka
changed the title
[ECS] [Fargate]: Partial logs concatenation with Fluentbit
[ECS] [Fargate]: Partial json logs concatenation with Fluentbit
Aug 10, 2023
Community Note
Tell us about your request
I want to have multi-line json logging supported with the built-in Fluent Bit logging on ECS/Fargate.
One option would be to make proposed config available by simply referencing the path like
instead of building custom image for that. It's not ideal we need to maintain additional image to make it work.
Which service(s) is this request for?
ECS Fargate
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Container logs are being splitted into 16kb chunks with addition of
partial
attributes. This prevents centralized logging system to display the logs properly.Are you currently working around this issue?
I have built a custom image based on official AWS fluentbit image and added custom config for parsing.
Dockerfile
extra.conf
based on https://docs.fluentbit.io/manual/pipeline/filters/multiline-stacktrace#docker-partial-message-use-caseThen in task definiton we have container defined:
Additional context
#1326
aws/aws-for-fluent-bit#100
fluent/fluent-bit#821
Attachments
Splitted logs
Merged logs
The text was updated successfully, but these errors were encountered: