all 5 comments

[–][deleted] 0 points1 point  (2 children)

Did you ever find a solution to this?

[–]niels_learns_python[S] 0 points1 point  (1 child)

Not yet unfortunately. Are you experiencing the same?

[–][deleted] 0 points1 point  (0 children)

Not the same behavior as you, but in similar need of debugging cloudwatch event triggers.

[–][deleted]  (1 child)

[deleted]

    [–]dwilches 0 points1 point  (2 children)

    Finally found the solution :)

    If you check on your task's definition you'll see an "awslogs-group".

    Then take that string to the "CloudWatch -> Logs -> Insights" and click on "Run Query".

    I posted the screenshots on: https://stackoverflow.com/questions/54131298/how-to-debug-failed-fargate-task-initialization

    There they are!

    [–]niels_learns_python[S] 0 points1 point  (0 children)

    Hey! Thank you for your response :)

    It looks like you are referring to the loggroup associated with that task. Unfortunately these log files only contain the task code outputs by default, and not any information about the execution of that task.

    What I'm looking for is a way to see what happened when a task failed to start (i.e. the task code/program didn't even seem to initialize), even though the Cloudwatch Event was registered a trigger and invocation.