aws / containers-roadmap

This is the public roadmap for AWS container services (ECS, ECR, Fargate, and EKS).
https://aws.amazon.com/about-aws/whats-new/containers/
Other
5.22k stars 321 forks source link

[ECS] [request]: Allow ECS events logs to be published to CloudWatch log group #1357

Open sourabh-idoorkar opened 3 years ago

sourabh-idoorkar commented 3 years ago

Community Note

Tell us about your request What do you want us to build? ECS should allow the ECS events logs visible on console to also be published to a Cloudwatch log group via a setting on the console and CloudFormation for ECS service. This would then allow us to setup rules and alerts on the log group

Which service(s) is this request for? This could be ECS

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? Its hard to keep track of the ECS events via the console since they are not retained forever and there is no retention setting to control the same

Are you currently working around this issue? How are you currently solving this problem? A custom Lambda written to listen for ECS stop/exit events and push custom messages depicting this to cloudwatch which then has alarms setup on it for those custom messages

Additional context Anything else we should know?

Attachments If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)

awsiv commented 3 years ago

You should able to do this via Cloudwatch events rule --> cloudwatch log group target