awslogs

Simple command-line tool to read AWS CloudWatch logs

brewmacoslinux
Try with needOr install directly
Source

About

Simple command-line tool to read AWS CloudWatch logs

Commands

awslogs

Examples

List all log groups in your AWS account$ awslogs groups
View recent logs from a specific log group$ awslogs get /aws/lambda/my-function --start=1h
Stream logs from a log group and stream in real-time$ awslogs get /aws/lambda/my-function --watch