Skip to content

Commit 5887db2

Browse files
authored
docs: ecs firelens custom config option (#285)
1 parent 29dc369 commit 5887db2

File tree

1 file changed

+11
-2
lines changed
  • src/content/docs/aws/services

1 file changed

+11
-2
lines changed

src/content/docs/aws/services/ecs.mdx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,17 @@ Alternatively, you can download the image from the private registry before using
348348
LocalStack's ECS emulation supports custom log routing via FireLens.
349349
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.
350350
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).
353362
354363
## Resource Browser
355364

0 commit comments

Comments
 (0)