Tell us about your request
This is related to the fluentd support in fargate. The earlier issue https://github.com/aws/containers-roadmap/issues/383, got closed pointing to firelens.
In our case, the ECS containers forward the logs to a fluentd aggregator which sends the logs into a kinesis stream.
From what I understand firelens does not support kinesis streams yet. So, is there a way to use fluentd directly from fargate containers without using firelens?
Basically, similar to how it works currently for ECS containers.
Which service(s) is this request for?
Fargate
Additional context
https://github.com/aws/containers-roadmap/issues/383
@chungath FireLens does support Kinesis Streams!
FireLens allows you to use Fluentd or Fluent Bit as your log router. Fluent Bit is our recommendation though. The AWS for Fluent Bit image recently added support for Kinesis Streams: https://github.com/aws/aws-for-fluent-bit/releases/tag/v2.0.0
Furthermore, you can forward to your Fluentd aggregator using Fluent Bit and FireLens: https://github.com/aws-samples/amazon-ecs-firelens-examples/tree/master/examples/fluent-bit/forward-to-aggregator
@PettitWesley But why just don't implement a support of docker fluentd driver in Fargate? Your solution is just a workaround for me.
As stated here:
Amazon ECS task definitions for Fargate support the awslogs, splunk, firelens, and fluentd log drivers for the log configuration.
But this is not true. I'd also like to just fluent-bit on its own, since it has all the features we need.
Most helpful comment
@PettitWesley But why just don't implement a support of docker fluentd driver in Fargate? Your solution is just a workaround for me.