awslogs

Amazon CloudWatch 로그에서 그룹, 스트림 및 이벤트를 쿼리. 더 많은 정보: 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