Skip to content

Instantly share code, notes, and snippets.

@dtan4
Created June 13, 2016 11:16
Show Gist options
  • Save dtan4/aaba5d213414a590feb30627b19d85cb to your computer and use it in GitHub Desktop.
Save dtan4/aaba5d213414a590feb30627b19d85cb to your computer and use it in GitHub Desktop.
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