AWS CLICloudWatch

aws logs tail

Tails a CloudWatch Logs group, optionally following new events as they arrive.

Syntax

aws logs tail <log-group> [--follow]

Examples

Follow a Lambda function's logs live

aws logs tail /aws/lambda/my-function --follow