CmdID

CmdID / Commands

awslogs

Query groups, streams, and events from Amazon CloudWatch logs. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

List log groups

awslogs groupsIdentify

List existing streams for the specified group

awslogs streams /var/log/syslogIdentify

Get logs for any streams in the specified group between 1 and 2 hours ago

awslogs get /var/log/syslog --start '2h ago' --end '1h ago'Identify

Get logs that match a specific CloudWatch Logs Filter pattern

awslogs get /aws/lambda/my_lambda_group --filter-pattern 'ERROR'Identify

Watch logs for any streams in the specified group

awslogs get /var/log/syslog ALL --watchIdentify