awslogs
命令手册Queries groups, streams and events from Amazon Cloudwatch logs. More information: https://github.com/jorgebastida/awslogs.
awslogs groups
awslogs streams {{/var/log/syslog}}
awslogs get {{/var/log/syslog}} --start='{{2h ago}}' --end='{{1h ago}}'
awslogs get {{/aws/lambda/my_lambda_group}} --filter-pattern='{{ERROR}}'
awslogs get {{/var/log/syslog}} ALL --watch