{"action":"opened","number":198,"pull_request":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls/198","id":76785411,"html_url":"https://github.com/alphagov/digitalmarketplace-aws/pull/198","diff_url":"https://github.com/alphagov/digitalmarketplace-aws/pull/198.diff","patch_url":"https://github.com/alphagov/digitalmarketplace-aws/pull/198.patch","issue_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues/198","number":198,"state":"open","locked":false,"title":"Fix cloudwatch stream filter","user":{"login":"allait","id":246664,"avatar_url":"https://avatars.githubusercontent.com/u/246664?v=3","gravatar_id":"","url":"https://api.github.com/users/allait","html_url":"https://github.com/allait","followers_url":"https://api.github.com/users/allait/followers","following_url":"https://api.github.com/users/allait/following{/other_user}","gists_url":"https://api.github.com/users/allait/gists{/gist_id}","starred_url":"https://api.github.com/users/allait/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allait/subscriptions","organizations_url":"https://api.github.com/users/allait/orgs","repos_url":"https://api.github.com/users/allait/repos","events_url":"https://api.github.com/users/allait/events{/privacy}","received_events_url":"https://api.github.com/users/allait/received_events","type":"User","site_admin":false},"body":"### Fix cloudwatch log streaming filter to not drop exceptions\r\n\r\nPrevious filter removed logs for health check requests by looking for log events that have either a wrong `request` or wrong `url`, but exception logs don't have any of these fields, so they got filtered out too.\r\n\r\nChanging the filter to skip events that:\r\n* Have `request` field and field value is matching health check\r\n  URL - filters out apache-access health check logs\r\n* Have `url` field and field value is matching health check URL -\r\n  filters out application health check logs\r\n* Have `remoteHost` field and field value is `::1` - filters out\r\n  Apache mod_wsgi internal connection logs\r\n\r\n### Drop redundant fields from Kibana log events\r\nRemoves duplicate `@id` field, `@message` source, account `@owner` and log group fields since they're all the same for all messages.\r\n","created_at":"2016-07-08T17:20:10Z","updated_at":"2016-07-08T17:20:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"821561ca6c2ffaeece07853b3a49cb772929ec56","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls/198/commits","review_comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls/198/comments","review_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues/198/comments","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/statuses/dd9f4c49bb167b58035a1f8d08c6784e994605c1","head":{"label":"alphagov:fix-cloudwatch-stream-filter","ref":"fix-cloudwatch-stream-filter","sha":"dd9f4c49bb167b58035a1f8d08c6784e994605c1","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":31316356,"name":"digitalmarketplace-aws","full_name":"alphagov/digitalmarketplace-aws","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/digitalmarketplace-aws","description":"Ansible playbooks to set up AWS infrastructure for Digital Marketplace apps","fork":false,"url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws","forks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/forks","keys_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/teams","hooks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/hooks","issue_events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/events","assignees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/tags","blobs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/languages","stargazers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/stargazers","contributors_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/contributors","subscribers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/subscribers","subscription_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/subscription","commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/merges","archive_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/downloads","issues_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/deployments","created_at":"2015-02-25T14:07:07Z","updated_at":"2016-01-13T10:26:52Z","pushed_at":"2016-07-08T17:20:10Z","git_url":"git://github.com/alphagov/digitalmarketplace-aws.git","ssh_url":"git@github.com:alphagov/digitalmarketplace-aws.git","clone_url":"https://github.com/alphagov/digitalmarketplace-aws.git","svn_url":"https://github.com/alphagov/digitalmarketplace-aws","homepage":null,"size":540,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"89c61fdc9e8cb78b3315d9d7343f6a7d2b0d2591","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":31316356,"name":"digitalmarketplace-aws","full_name":"alphagov/digitalmarketplace-aws","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/digitalmarketplace-aws","description":"Ansible playbooks to set up AWS infrastructure for Digital Marketplace apps","fork":false,"url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws","forks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/forks","keys_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/teams","hooks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/hooks","issue_events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/events","assignees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/tags","blobs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/languages","stargazers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/stargazers","contributors_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/contributors","subscribers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/subscribers","subscription_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/subscription","commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/merges","archive_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/downloads","issues_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/deployments","created_at":"2015-02-25T14:07:07Z","updated_at":"2016-01-13T10:26:52Z","pushed_at":"2016-07-08T17:20:10Z","git_url":"git://github.com/alphagov/digitalmarketplace-aws.git","ssh_url":"git@github.com:alphagov/digitalmarketplace-aws.git","clone_url":"https://github.com/alphagov/digitalmarketplace-aws.git","svn_url":"https://github.com/alphagov/digitalmarketplace-aws","homepage":null,"size":540,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls/198"},"html":{"href":"https://github.com/alphagov/digitalmarketplace-aws/pull/198"},"issue":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues/198"},"comments":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues/198/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls/198/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls/198/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/statuses/dd9f4c49bb167b58035a1f8d08c6784e994605c1"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":1,"deletions":6,"changed_files":2}}
{"actor":{"display_login":"allait"}}