Sometimes it is very useful to be able to stream remote logs from CloudWatch this is very easy with the AWS CLI tail command.
Basic version of the command:
aws logs tail log_group_name --tail since 1h --follow
we can also filter by the log stream name or its prefix.
aws logs tail log_group_name --log-stream-name-prefix web --since 1h --follow
Top comments (0)