Since mid-2019, the AWS CLI natively supports real time viewing of aws logs.
View latest logs using --since
View the latest 365 days worth of logs:
|
|
View the latest 52 weeks worth of logs:
|
|
View other supported units here.
Real time follow logs using --follow
Continuously poll for new logs using --follow
:
|
|
Other options with aws logs tail
For other supported options with aws logs tail
, view the full reference here.