From 17eef7af486e4e7f3a89abc008c91abc32609b5c Mon Sep 17 00:00:00 2001 From: Dorrin Date: Wed, 7 Dec 2016 14:32:38 -0500 Subject: [PATCH] Added logging details for ECS --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c4680bc..65523ef 100644 --- a/README.md +++ b/README.md @@ -1200,6 +1200,7 @@ ECS - If you want fast fleet-wide pulls of large images, you’ll need to push your image into a region-local registry. - Doesn’t support custom domains / certificates. - A container's health is monitored via [CLB](#clb) or [ALB](#alb). Those can also be used to address a containerized service. When using an ALB you do not need to handle port contention (i.e. services exposing the same port on the same host) since an ALB’s target groups can be associated with ECS-based services directly. +- ECS supports multiple log drivers (awslogs, splunk, fluentd, syslog, json, ... ). Use `awslogs` for cloudwatch (make sure a group is made for the logs first). Drivers such as fluentd are not enable by default. To do so, install the agent and enable the driver by adding `ECS_AVAILABLE_LOGGING_DRIVERS='["awslogs","fluentd"]'` to `/etc/ecs/ecs.config`. ### ECS Tips