Created
November 28, 2019 22:51
-
-
Save andrew-smith/1ddf867f4b20dc0f7fee57a358f1afd8 to your computer and use it in GitHub Desktop.
Commands to extract billed duration and memory used from serverless log reporting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npx sls logs -f functionname --startTime 60m | awk '/REPORT/ {print $9","$18}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment