aws / aws/containers-roadmap

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

Open
#1,357 1 comment 2 reactions 0 assignees View on GitHub
ECS Proposed
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment

**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.)

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are mentioned; start by clarifying how ECS events would be delivered to CloudWatch Logs and how the ECS service's CloudFormation and console settings should represent that configuration. Done means ECS events are retained in a configurable CloudWatch log group and the requested console and CloudFormation controls are defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.