Skip to content

Instantly share code, notes, and snippets.

@phlxz
Created October 9, 2025 13:03
Show Gist options
  • Select an option

  • Save phlxz/c40b18b8365a7febe1515d286efb7095 to your computer and use it in GitHub Desktop.

Select an option

Save phlxz/c40b18b8365a7febe1515d286efb7095 to your computer and use it in GitHub Desktop.
awscli

Cloudwatch Logs

Latest Log Stream

aws logs describe-log-streams --log-group-name '/aws/lambda/[LAMBDA_FUNCTION_NAME]' --query 'logStreams[*].logStreamName' --max-items 1 --order-by LastEventTime --descending

All Log Streams

aws logs describe-log-streams --log-group-name '/aws/lambda/[LAMBDA_FUNCTION_NAME]' --query 'logStreams[*].logStreamName'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment