Created
June 13, 2016 11:16
-
-
Save dtan4/aaba5d213414a590feb30627b19d85cb to your computer and use it in GitHub Desktop.
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
client.describe_log_groups | |
client.describe_log_streams(log_group_name: "/aws/lambda/hello-world") | |
events = client.get_log_events(log_group_name: "/aws/lambda/hello-world", log_stream_name: "2015/11/06/[$LATEST]EXAMPLEf01b14a6d9588993a9EXAMPLE") | |
puts events.map(&:message).join |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment