how.wtf

How to view or tail AWS logs in real time

· Thomas Taylor

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:

1aws logs tail $GROUP --since 365d

View the latest 52 weeks worth of logs:

1aws logs tail $GROUP --since 52w

View other supported units here.

Real time follow logs using --follow

Continuously poll for new logs using --follow:

1aws logs tail $GROUP --follow

Other options with aws logs tail

For other supported options with aws logs tail, view the full reference here.

#Aws   #Aws-Cli  

Reply to this post by email ↪