{"action":"opened","number":30,"pull_request":{"url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/pulls/30","id":55083679,"html_url":"https://github.com/ryotarai/fluent-plugin-cloudwatch-logs/pull/30","diff_url":"https://github.com/ryotarai/fluent-plugin-cloudwatch-logs/pull/30.diff","patch_url":"https://github.com/ryotarai/fluent-plugin-cloudwatch-logs/pull/30.patch","issue_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/issues/30","number":30,"state":"open","locked":false,"title":"Cnsure group name key exists before adding stream name","user":{"login":"bakins","id":205350,"avatar_url":"https://avatars.githubusercontent.com/u/205350?v=3","gravatar_id":"","url":"https://api.github.com/users/bakins","html_url":"https://github.com/bakins","followers_url":"https://api.github.com/users/bakins/followers","following_url":"https://api.github.com/users/bakins/following{/other_user}","gists_url":"https://api.github.com/users/bakins/gists{/gist_id}","starred_url":"https://api.github.com/users/bakins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakins/subscriptions","organizations_url":"https://api.github.com/users/bakins/orgs","repos_url":"https://api.github.com/users/bakins/repos","events_url":"https://api.github.com/users/bakins/events{/privacy}","received_events_url":"https://api.github.com/users/bakins/received_events","type":"User","site_admin":false},"body":"When `use_tag_as_group` is used, I will get an exception because the group name key doesn't actually exist.  I was unable to reliably reproduce this, but it seems to happen depending on the results of querying the AWS API.  This simple change just ensures that the hash actually exists before adding the stream.","created_at":"2016-01-05T11:59:40Z","updated_at":"2016-01-05T11:59:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/pulls/30/commits","review_comments_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/pulls/30/comments","review_comment_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/issues/30/comments","statuses_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/statuses/291770175d839ff96ea8fed0aba218758792daea","head":{"label":"bakins:ensure-group-name-set","ref":"ensure-group-name-set","sha":"291770175d839ff96ea8fed0aba218758792daea","user":{"login":"bakins","id":205350,"avatar_url":"https://avatars.githubusercontent.com/u/205350?v=3","gravatar_id":"","url":"https://api.github.com/users/bakins","html_url":"https://github.com/bakins","followers_url":"https://api.github.com/users/bakins/followers","following_url":"https://api.github.com/users/bakins/following{/other_user}","gists_url":"https://api.github.com/users/bakins/gists{/gist_id}","starred_url":"https://api.github.com/users/bakins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakins/subscriptions","organizations_url":"https://api.github.com/users/bakins/orgs","repos_url":"https://api.github.com/users/bakins/repos","events_url":"https://api.github.com/users/bakins/events{/privacy}","received_events_url":"https://api.github.com/users/bakins/received_events","type":"User","site_admin":false},"repo":{"id":49062917,"name":"fluent-plugin-cloudwatch-logs","full_name":"bakins/fluent-plugin-cloudwatch-logs","owner":{"login":"bakins","id":205350,"avatar_url":"https://avatars.githubusercontent.com/u/205350?v=3","gravatar_id":"","url":"https://api.github.com/users/bakins","html_url":"https://github.com/bakins","followers_url":"https://api.github.com/users/bakins/followers","following_url":"https://api.github.com/users/bakins/following{/other_user}","gists_url":"https://api.github.com/users/bakins/gists{/gist_id}","starred_url":"https://api.github.com/users/bakins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakins/subscriptions","organizations_url":"https://api.github.com/users/bakins/orgs","repos_url":"https://api.github.com/users/bakins/repos","events_url":"https://api.github.com/users/bakins/events{/privacy}","received_events_url":"https://api.github.com/users/bakins/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bakins/fluent-plugin-cloudwatch-logs","description":"CloudWatch Logs Plugin for Fluentd","fork":true,"url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs","forks_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/forks","keys_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/teams","hooks_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/hooks","issue_events_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/issues/events{/number}","events_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/events","assignees_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/assignees{/user}","branches_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/branches{/branch}","tags_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/tags","blobs_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/git/refs{/sha}","trees_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/statuses/{sha}","languages_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/languages","stargazers_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/stargazers","contributors_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/contributors","subscribers_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/subscribers","subscription_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/subscription","commits_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/commits{/sha}","git_commits_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/git/commits{/sha}","comments_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/comments{/number}","issue_comment_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/issues/comments{/number}","contents_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/contents/{+path}","compare_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/merges","archive_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/downloads","issues_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/issues{/number}","pulls_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/pulls{/number}","milestones_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/milestones{/number}","notifications_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/labels{/name}","releases_url":"https://api.github.com/repos/bakins/fluent-plugin-cloudwatch-logs/releases{/id}","created_at":"2016-01-05T11:54:28Z","updated_at":"2016-01-05T11:54:29Z","pushed_at":"2016-01-05T11:57:28Z","git_url":"git://github.com/bakins/fluent-plugin-cloudwatch-logs.git","ssh_url":"git@github.com:bakins/fluent-plugin-cloudwatch-logs.git","clone_url":"https://github.com/bakins/fluent-plugin-cloudwatch-logs.git","svn_url":"https://github.com/bakins/fluent-plugin-cloudwatch-logs","homepage":null,"size":53,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ryotarai:master","ref":"master","sha":"9d85415182f75cdb99d9ee134e404c4b86209f1c","user":{"login":"ryotarai","id":706434,"avatar_url":"https://avatars.githubusercontent.com/u/706434?v=3","gravatar_id":"","url":"https://api.github.com/users/ryotarai","html_url":"https://github.com/ryotarai","followers_url":"https://api.github.com/users/ryotarai/followers","following_url":"https://api.github.com/users/ryotarai/following{/other_user}","gists_url":"https://api.github.com/users/ryotarai/gists{/gist_id}","starred_url":"https://api.github.com/users/ryotarai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryotarai/subscriptions","organizations_url":"https://api.github.com/users/ryotarai/orgs","repos_url":"https://api.github.com/users/ryotarai/repos","events_url":"https://api.github.com/users/ryotarai/events{/privacy}","received_events_url":"https://api.github.com/users/ryotarai/received_events","type":"User","site_admin":false},"repo":{"id":21900872,"name":"fluent-plugin-cloudwatch-logs","full_name":"ryotarai/fluent-plugin-cloudwatch-logs","owner":{"login":"ryotarai","id":706434,"avatar_url":"https://avatars.githubusercontent.com/u/706434?v=3","gravatar_id":"","url":"https://api.github.com/users/ryotarai","html_url":"https://github.com/ryotarai","followers_url":"https://api.github.com/users/ryotarai/followers","following_url":"https://api.github.com/users/ryotarai/following{/other_user}","gists_url":"https://api.github.com/users/ryotarai/gists{/gist_id}","starred_url":"https://api.github.com/users/ryotarai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryotarai/subscriptions","organizations_url":"https://api.github.com/users/ryotarai/orgs","repos_url":"https://api.github.com/users/ryotarai/repos","events_url":"https://api.github.com/users/ryotarai/events{/privacy}","received_events_url":"https://api.github.com/users/ryotarai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryotarai/fluent-plugin-cloudwatch-logs","description":"CloudWatch Logs Plugin for Fluentd","fork":false,"url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs","forks_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/forks","keys_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/teams","hooks_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/hooks","issue_events_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/issues/events{/number}","events_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/events","assignees_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/assignees{/user}","branches_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/branches{/branch}","tags_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/tags","blobs_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/statuses/{sha}","languages_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/languages","stargazers_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/stargazers","contributors_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/contributors","subscribers_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/subscribers","subscription_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/subscription","commits_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/contents/{+path}","compare_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/merges","archive_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/downloads","issues_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/issues{/number}","pulls_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/pulls{/number}","milestones_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/milestones{/number}","notifications_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/labels{/name}","releases_url":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/releases{/id}","created_at":"2014-07-16T13:07:18Z","updated_at":"2015-11-25T14:59:47Z","pushed_at":"2015-10-23T03:39:53Z","git_url":"git://github.com/ryotarai/fluent-plugin-cloudwatch-logs.git","ssh_url":"git@github.com:ryotarai/fluent-plugin-cloudwatch-logs.git","clone_url":"https://github.com/ryotarai/fluent-plugin-cloudwatch-logs.git","svn_url":"https://github.com/ryotarai/fluent-plugin-cloudwatch-logs","homepage":null,"size":412,"stargazers_count":29,"watchers_count":29,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":4,"forks":19,"open_issues":4,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/pulls/30"},"html":{"href":"https://github.com/ryotarai/fluent-plugin-cloudwatch-logs/pull/30"},"issue":{"href":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/issues/30"},"comments":{"href":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/ryotarai/fluent-plugin-cloudwatch-logs/statuses/291770175d839ff96ea8fed0aba218758792daea"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}