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
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/ecs.mdx
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -348,8 +348,17 @@ Alternatively, you can download the image from the private registry before using
348
348
LocalStack's ECS emulation supports custom log routing via FireLens.
349
349
FireLens allows the ECS service to manage the configuration of the logging driver of application containers, and to create the proper configuration for the `fluentbit`/`fluentd` logging layer.
350
350
351
-
However the current implementation of FireLens does not support [custom configurations via S3 buckets](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/firelens-taskdef.html#firelens-taskdef-customconfig).
352
-
Additionally, you cannot use ECS on Kubernetes with FireLens.
351
+
However, you cannot use ECS on Kubernetes with FireLens.
352
+
353
+
### Custom Config Support
354
+
355
+
LocalStack ECS FireLens now supports the provision of custom configurations:
356
+
357
+
- You can supply a custom Fluent Bit configuration through the ECS task definition. The config is included in the default configuration via the [`@INCLUDE` directive](https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/configuration-file#config-include-file).
358
+
- Custom config files can be provisioned via S3 (for EC2 tasks) or be baked into the image (supported for both Fargate and EC2 tasks).
359
+
- LocalStack now also supports the `s3` fluentbit plugin for extended log routing use-cases.
360
+
361
+
For usage details and configuration patterns, refer to the [AWS ECS FireLens custom config documentation](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/firelens-taskdef.html#firelens-taskdef-customconfig).
0 commit comments