githubEdit

How to Find ECS Container Logs

When running ECS containers through Duplo, container logs are automatically collected and can be viewed through the Observability dashboard. Here's how to find and view your container logs: Accessing Container Logs Log into the Duplo Portal Navigate to Observability -> Standard -> Logging Click "Open New Tab" in the upper right corner In the left sidebar, expand the "filebeat-" dropdown Select "ecs-" to view ECS container logs Filtering Logs To find logs for a specific container: Remove any existing filters at the top of the dashboard Click "DQL" to reveal the time selection controls Set the appropriate time range for when your container was running Use the filter syntax: ecs_task_definition:"your-task-definition-name" By default, ECS containers in Duplo use the AWS Firelens log driver to collect and forward logs. These logs are automatically configured to be accessible through the Observability dashboard.

Last updated

Was this helpful?