{"action":"closed","number":7068,"pull_request":{"url":"https://api.github.com/repos/elastic/beats/pulls/7068","id":187144788,"html_url":"https://github.com/elastic/beats/pull/7068","diff_url":"https://github.com/elastic/beats/pull/7068.diff","patch_url":"https://github.com/elastic/beats/pull/7068.patch","issue_url":"https://api.github.com/repos/elastic/beats/issues/7068","number":7068,"state":"closed","locked":false,"title":"Cherry-pick #7051 to 6.3: Add host.name in the events","user":{"login":"tsg","id":101817,"avatar_url":"https://avatars1.githubusercontent.com/u/101817?v=4","gravatar_id":"","url":"https://api.github.com/users/tsg","html_url":"https://github.com/tsg","followers_url":"https://api.github.com/users/tsg/followers","following_url":"https://api.github.com/users/tsg/following{/other_user}","gists_url":"https://api.github.com/users/tsg/gists{/gist_id}","starred_url":"https://api.github.com/users/tsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsg/subscriptions","organizations_url":"https://api.github.com/users/tsg/orgs","repos_url":"https://api.github.com/users/tsg/repos","events_url":"https://api.github.com/users/tsg/events{/privacy}","received_events_url":"https://api.github.com/users/tsg/received_events","type":"User","site_admin":false},"body":"Cherry-pick of PR #7051 to 6.3 branch. Original message: \n\nAs a solution for #7050, we're adding a `host.name` field to\r\nall events. This is duplicate information from `beat.name`,\r\nbut is used to avoid the mapping conflict and to slowly\r\nintroduce the \"host as an object\" approach.\r\n\r\nTo remove the duplication, you can remove `beat.name` like this:\r\n\r\n    processors:\r\n      - drop_fields.fields: [\"beat.name\"]\r\n\r\nCloses #7050.","created_at":"2018-05-10T09:34:34Z","updated_at":"2018-05-10T11:02:57Z","closed_at":"2018-05-10T11:02:56Z","merged_at":"2018-05-10T11:02:56Z","merge_commit_sha":"929dc4873239f682f72045e1d7471384eec9429b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":306831030,"url":"https://api.github.com/repos/elastic/beats/labels/backport","name":"backport","color":"e99695","default":false},{"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/7068/commits","review_comments_url":"https://api.github.com/repos/elastic/beats/pulls/7068/comments","review_comment_url":"https://api.github.com/repos/elastic/beats/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/beats/issues/7068/comments","statuses_url":"https://api.github.com/repos/elastic/beats/statuses/e8506f8242f6069de0dc7aedb5bc06a97bbf921f","head":{"label":"tsg:backport_7051_6.3","ref":"backport_7051_6.3","sha":"e8506f8242f6069de0dc7aedb5bc06a97bbf921f","user":{"login":"tsg","id":101817,"avatar_url":"https://avatars1.githubusercontent.com/u/101817?v=4","gravatar_id":"","url":"https://api.github.com/users/tsg","html_url":"https://github.com/tsg","followers_url":"https://api.github.com/users/tsg/followers","following_url":"https://api.github.com/users/tsg/following{/other_user}","gists_url":"https://api.github.com/users/tsg/gists{/gist_id}","starred_url":"https://api.github.com/users/tsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsg/subscriptions","organizations_url":"https://api.github.com/users/tsg/orgs","repos_url":"https://api.github.com/users/tsg/repos","events_url":"https://api.github.com/users/tsg/events{/privacy}","received_events_url":"https://api.github.com/users/tsg/received_events","type":"User","site_admin":false},"repo":{"id":47250357,"name":"beats","full_name":"tsg/beats","owner":{"login":"tsg","id":101817,"avatar_url":"https://avatars1.githubusercontent.com/u/101817?v=4","gravatar_id":"","url":"https://api.github.com/users/tsg","html_url":"https://github.com/tsg","followers_url":"https://api.github.com/users/tsg/followers","following_url":"https://api.github.com/users/tsg/following{/other_user}","gists_url":"https://api.github.com/users/tsg/gists{/gist_id}","starred_url":"https://api.github.com/users/tsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsg/subscriptions","organizations_url":"https://api.github.com/users/tsg/orgs","repos_url":"https://api.github.com/users/tsg/repos","events_url":"https://api.github.com/users/tsg/events{/privacy}","received_events_url":"https://api.github.com/users/tsg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tsg/beats","description":"Data Shippers for Elasticsearch","fork":true,"url":"https://api.github.com/repos/tsg/beats","forks_url":"https://api.github.com/repos/tsg/beats/forks","keys_url":"https://api.github.com/repos/tsg/beats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsg/beats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsg/beats/teams","hooks_url":"https://api.github.com/repos/tsg/beats/hooks","issue_events_url":"https://api.github.com/repos/tsg/beats/issues/events{/number}","events_url":"https://api.github.com/repos/tsg/beats/events","assignees_url":"https://api.github.com/repos/tsg/beats/assignees{/user}","branches_url":"https://api.github.com/repos/tsg/beats/branches{/branch}","tags_url":"https://api.github.com/repos/tsg/beats/tags","blobs_url":"https://api.github.com/repos/tsg/beats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsg/beats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsg/beats/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsg/beats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsg/beats/statuses/{sha}","languages_url":"https://api.github.com/repos/tsg/beats/languages","stargazers_url":"https://api.github.com/repos/tsg/beats/stargazers","contributors_url":"https://api.github.com/repos/tsg/beats/contributors","subscribers_url":"https://api.github.com/repos/tsg/beats/subscribers","subscription_url":"https://api.github.com/repos/tsg/beats/subscription","commits_url":"https://api.github.com/repos/tsg/beats/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsg/beats/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsg/beats/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsg/beats/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsg/beats/contents/{+path}","compare_url":"https://api.github.com/repos/tsg/beats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsg/beats/merges","archive_url":"https://api.github.com/repos/tsg/beats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsg/beats/downloads","issues_url":"https://api.github.com/repos/tsg/beats/issues{/number}","pulls_url":"https://api.github.com/repos/tsg/beats/pulls{/number}","milestones_url":"https://api.github.com/repos/tsg/beats/milestones{/number}","notifications_url":"https://api.github.com/repos/tsg/beats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsg/beats/labels{/name}","releases_url":"https://api.github.com/repos/tsg/beats/releases{/id}","deployments_url":"https://api.github.com/repos/tsg/beats/deployments","created_at":"2015-12-02T09:22:33Z","updated_at":"2016-01-20T10:12:12Z","pushed_at":"2018-05-10T09:35:43Z","git_url":"git://github.com/tsg/beats.git","ssh_url":"git@github.com:tsg/beats.git","clone_url":"https://github.com/tsg/beats.git","svn_url":"https://github.com/tsg/beats","homepage":"https://www.elastic.co/products/beats","size":78856,"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":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:6.3","ref":"6.3","sha":"c173f249f7cd8aa51523e50f054246b10e95e6a0","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-05-10T10:14:45Z","pushed_at":"2018-05-10T11:02:56Z","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":78338,"stargazers_count":5574,"watchers_count":5574,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1653,"mirror_url":null,"archived":false,"open_issues_count":774,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1653,"open_issues":774,"watchers":5574,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/beats/pulls/7068"},"html":{"href":"https://github.com/elastic/beats/pull/7068"},"issue":{"href":"https://api.github.com/repos/elastic/beats/issues/7068"},"comments":{"href":"https://api.github.com/repos/elastic/beats/issues/7068/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/beats/pulls/7068/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/beats/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/beats/pulls/7068/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/beats/statuses/e8506f8242f6069de0dc7aedb5bc06a97bbf921f"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"monicasarbu","id":11757159,"avatar_url":"https://avatars2.githubusercontent.com/u/11757159?v=4","gravatar_id":"","url":"https://api.github.com/users/monicasarbu","html_url":"https://github.com/monicasarbu","followers_url":"https://api.github.com/users/monicasarbu/followers","following_url":"https://api.github.com/users/monicasarbu/following{/other_user}","gists_url":"https://api.github.com/users/monicasarbu/gists{/gist_id}","starred_url":"https://api.github.com/users/monicasarbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monicasarbu/subscriptions","organizations_url":"https://api.github.com/users/monicasarbu/orgs","repos_url":"https://api.github.com/users/monicasarbu/repos","events_url":"https://api.github.com/users/monicasarbu/events{/privacy}","received_events_url":"https://api.github.com/users/monicasarbu/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":26,"deletions":19,"changed_files":7}}
{"actor":{"display_login":"monicasarbu"}}