How do I collect logs from my Amazon ECS container instance automatically? I'm troubleshooting my Amazon Elastic Container Service (Amazon ECS) environment or opening a case with AWS Support, and I need to collect various logs from my container instances. Short description The Amazon ECS logs collector is a script that collects logs automatically from your container instance. The script collects g