{"action":"opened","number":6784,"pull_request":{"url":"https://api.github.com/repos/elastic/beats/pulls/6784","id":179754722,"html_url":"https://github.com/elastic/beats/pull/6784","diff_url":"https://github.com/elastic/beats/pull/6784.diff","patch_url":"https://github.com/elastic/beats/pull/6784.patch","issue_url":"https://api.github.com/repos/elastic/beats/issues/6784","number":6784,"state":"open","locked":false,"title":"http: Save the request or response body independently","user":{"login":"adriansr","id":15056957,"avatar_url":"https://avatars1.githubusercontent.com/u/15056957?v=4","gravatar_id":"","url":"https://api.github.com/users/adriansr","html_url":"https://github.com/adriansr","followers_url":"https://api.github.com/users/adriansr/followers","following_url":"https://api.github.com/users/adriansr/following{/other_user}","gists_url":"https://api.github.com/users/adriansr/gists{/gist_id}","starred_url":"https://api.github.com/users/adriansr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriansr/subscriptions","organizations_url":"https://api.github.com/users/adriansr/orgs","repos_url":"https://api.github.com/users/adriansr/repos","events_url":"https://api.github.com/users/adriansr/events{/privacy}","received_events_url":"https://api.github.com/users/adriansr/received_events","type":"User","site_admin":false},"body":"This patch adds two new configuration options to the http protocol plugin in packetbeat: `include_request_body_for` and `include_response_body_for`.  They work in a similar way to `include_body_for`, but apply only to the request or response bodies.\r\n\r\nWhen `include_body_for` is also specified, the behavior is as follows:\r\n\r\n  include_body_for: [A]\r\n  include_request_body_for: [B]\r\n  include_response_body_for: [C]\r\n\r\nRequests bodies will be included if the content-type matches either A or B, and response bodies if it is A or C.","created_at":"2018-04-05T18:10:24Z","updated_at":"2018-04-05T18:10:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":294278531,"url":"https://api.github.com/repos/elastic/beats/labels/Packetbeat","name":"Packetbeat","color":"008000","default":false},{"id":78874874,"url":"https://api.github.com/repos/elastic/beats/labels/enhancement","name":"enhancement","color":"fbca04","default":true},{"id":228068770,"url":"https://api.github.com/repos/elastic/beats/labels/review","name":"review","color":"207de5","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/beats/pulls/6784/commits","review_comments_url":"https://api.github.com/repos/elastic/beats/pulls/6784/comments","review_comment_url":"https://api.github.com/repos/elastic/beats/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/beats/issues/6784/comments","statuses_url":"https://api.github.com/repos/elastic/beats/statuses/d8374bb8720a1e5c363ad63061608099676c2250","head":{"label":"adriansr:feature/http_body","ref":"feature/http_body","sha":"d8374bb8720a1e5c363ad63061608099676c2250","user":{"login":"adriansr","id":15056957,"avatar_url":"https://avatars1.githubusercontent.com/u/15056957?v=4","gravatar_id":"","url":"https://api.github.com/users/adriansr","html_url":"https://github.com/adriansr","followers_url":"https://api.github.com/users/adriansr/followers","following_url":"https://api.github.com/users/adriansr/following{/other_user}","gists_url":"https://api.github.com/users/adriansr/gists{/gist_id}","starred_url":"https://api.github.com/users/adriansr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriansr/subscriptions","organizations_url":"https://api.github.com/users/adriansr/orgs","repos_url":"https://api.github.com/users/adriansr/repos","events_url":"https://api.github.com/users/adriansr/events{/privacy}","received_events_url":"https://api.github.com/users/adriansr/received_events","type":"User","site_admin":false},"repo":{"id":107399581,"name":"beats","full_name":"adriansr/beats","owner":{"login":"adriansr","id":15056957,"avatar_url":"https://avatars1.githubusercontent.com/u/15056957?v=4","gravatar_id":"","url":"https://api.github.com/users/adriansr","html_url":"https://github.com/adriansr","followers_url":"https://api.github.com/users/adriansr/followers","following_url":"https://api.github.com/users/adriansr/following{/other_user}","gists_url":"https://api.github.com/users/adriansr/gists{/gist_id}","starred_url":"https://api.github.com/users/adriansr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriansr/subscriptions","organizations_url":"https://api.github.com/users/adriansr/orgs","repos_url":"https://api.github.com/users/adriansr/repos","events_url":"https://api.github.com/users/adriansr/events{/privacy}","received_events_url":"https://api.github.com/users/adriansr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adriansr/beats","description":":tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash ","fork":true,"url":"https://api.github.com/repos/adriansr/beats","forks_url":"https://api.github.com/repos/adriansr/beats/forks","keys_url":"https://api.github.com/repos/adriansr/beats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adriansr/beats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adriansr/beats/teams","hooks_url":"https://api.github.com/repos/adriansr/beats/hooks","issue_events_url":"https://api.github.com/repos/adriansr/beats/issues/events{/number}","events_url":"https://api.github.com/repos/adriansr/beats/events","assignees_url":"https://api.github.com/repos/adriansr/beats/assignees{/user}","branches_url":"https://api.github.com/repos/adriansr/beats/branches{/branch}","tags_url":"https://api.github.com/repos/adriansr/beats/tags","blobs_url":"https://api.github.com/repos/adriansr/beats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adriansr/beats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adriansr/beats/git/refs{/sha}","trees_url":"https://api.github.com/repos/adriansr/beats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adriansr/beats/statuses/{sha}","languages_url":"https://api.github.com/repos/adriansr/beats/languages","stargazers_url":"https://api.github.com/repos/adriansr/beats/stargazers","contributors_url":"https://api.github.com/repos/adriansr/beats/contributors","subscribers_url":"https://api.github.com/repos/adriansr/beats/subscribers","subscription_url":"https://api.github.com/repos/adriansr/beats/subscription","commits_url":"https://api.github.com/repos/adriansr/beats/commits{/sha}","git_commits_url":"https://api.github.com/repos/adriansr/beats/git/commits{/sha}","comments_url":"https://api.github.com/repos/adriansr/beats/comments{/number}","issue_comment_url":"https://api.github.com/repos/adriansr/beats/issues/comments{/number}","contents_url":"https://api.github.com/repos/adriansr/beats/contents/{+path}","compare_url":"https://api.github.com/repos/adriansr/beats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adriansr/beats/merges","archive_url":"https://api.github.com/repos/adriansr/beats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adriansr/beats/downloads","issues_url":"https://api.github.com/repos/adriansr/beats/issues{/number}","pulls_url":"https://api.github.com/repos/adriansr/beats/pulls{/number}","milestones_url":"https://api.github.com/repos/adriansr/beats/milestones{/number}","notifications_url":"https://api.github.com/repos/adriansr/beats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adriansr/beats/labels{/name}","releases_url":"https://api.github.com/repos/adriansr/beats/releases{/id}","deployments_url":"https://api.github.com/repos/adriansr/beats/deployments","created_at":"2017-10-18T11:36:46Z","updated_at":"2018-04-05T09:32:36Z","pushed_at":"2018-04-05T18:09:21Z","git_url":"git://github.com/adriansr/beats.git","ssh_url":"git@github.com:adriansr/beats.git","clone_url":"https://github.com/adriansr/beats.git","svn_url":"https://github.com/adriansr/beats","homepage":"https://www.elastic.co/products/beats","size":77178,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:master","ref":"master","sha":"f4a367ebc0613729922baf9ca632e1bfe978ccfc","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":16554739,"name":"beats","full_name":"elastic/beats","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/beats","description":":tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash ","fork":false,"url":"https://api.github.com/repos/elastic/beats","forks_url":"https://api.github.com/repos/elastic/beats/forks","keys_url":"https://api.github.com/repos/elastic/beats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/beats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/beats/teams","hooks_url":"https://api.github.com/repos/elastic/beats/hooks","issue_events_url":"https://api.github.com/repos/elastic/beats/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/beats/events","assignees_url":"https://api.github.com/repos/elastic/beats/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/beats/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/beats/tags","blobs_url":"https://api.github.com/repos/elastic/beats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/beats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/beats/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/beats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/beats/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/beats/languages","stargazers_url":"https://api.github.com/repos/elastic/beats/stargazers","contributors_url":"https://api.github.com/repos/elastic/beats/contributors","subscribers_url":"https://api.github.com/repos/elastic/beats/subscribers","subscription_url":"https://api.github.com/repos/elastic/beats/subscription","commits_url":"https://api.github.com/repos/elastic/beats/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/beats/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/beats/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/beats/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/beats/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/beats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/beats/merges","archive_url":"https://api.github.com/repos/elastic/beats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/beats/downloads","issues_url":"https://api.github.com/repos/elastic/beats/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/beats/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/beats/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/beats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/beats/labels{/name}","releases_url":"https://api.github.com/repos/elastic/beats/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/beats/deployments","created_at":"2014-02-05T19:01:02Z","updated_at":"2018-04-05T14:28:28Z","pushed_at":"2018-04-05T18:00:20Z","git_url":"git://github.com/elastic/beats.git","ssh_url":"git@github.com:elastic/beats.git","clone_url":"https://github.com/elastic/beats.git","svn_url":"https://github.com/elastic/beats","homepage":"https://www.elastic.co/products/beats","size":76859,"stargazers_count":5418,"watchers_count":5418,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1573,"mirror_url":null,"archived":false,"open_issues_count":758,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1573,"open_issues":758,"watchers":5418,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/beats/pulls/6784"},"html":{"href":"https://github.com/elastic/beats/pull/6784"},"issue":{"href":"https://api.github.com/repos/elastic/beats/issues/6784"},"comments":{"href":"https://api.github.com/repos/elastic/beats/issues/6784/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/beats/pulls/6784/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/beats/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/beats/pulls/6784/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/beats/statuses/d8374bb8720a1e5c363ad63061608099676c2250"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":105,"deletions":20,"changed_files":6}}
{"actor":{"display_login":"adriansr"}}