Containers-roadmap: [Fargate] [request]: Can we use Fluentd Log driver in fargate without using firelens

Created on 4 Dec 2019  路  3Comments  路  Source: aws/containers-roadmap

Community Note

  • 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
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

Proposed

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.

All 3 comments

@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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sarath9985 picture sarath9985  路  3Comments

clareliguori picture clareliguori  路  3Comments

yavor-atanasov picture yavor-atanasov  路  3Comments

AndrewMcFarren picture AndrewMcFarren  路  3Comments

groodt picture groodt  路  3Comments