Skip to content

Instantly share code, notes, and snippets.

@apeckham apeckham/.sh
Last active Mar 8, 2016

What would you like to do?
view aws lambda logs on the command line
aws logs describe-log-groups
aws logs describe-log-streams --log-group-name /aws/lambda/shopify-shipping --log-stream-name-prefix 2016 >2016.json
jq -r ".logStreams[] | select(.storedBytes > 0) | \"aws logs get-log-events --output text --log-group-name /aws/lambda/shopify-shipping --log-stream-name '\(.logStreamName)'\"" 2016.json

This comment has been minimized.

Copy link
Owner Author

apeckham commented Mar 8, 2016

awslogs get --start=2w /aws/lambda/shopify-shipping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.