Log Collection on AWS Fargate

To collect the AWS CloudWatch logs for a Tines service, perform the following steps:

First, get the list of log groups with the following command:

aws logs describe-log-groups

Next, get the list of log streams with the following command:

aws logs describe-log-streams

Then run the following command with the desired log group name and the most recent log stream for that group:

aws logs get-log-events \

   --log-group-name (log group name) --log-stream-name (log stream name) \

   --output text > tines-service-log.log
Was this helpful?