{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/beats/issues/8445","repository_url":"https://api.github.com/repos/elastic/beats","labels_url":"https://api.github.com/repos/elastic/beats/issues/8445/labels{/name}","comments_url":"https://api.github.com/repos/elastic/beats/issues/8445/comments","events_url":"https://api.github.com/repos/elastic/beats/issues/8445/events","html_url":"https://github.com/elastic/beats/pull/8445","id":363800832,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MTQ2ODM0","number":8445,"title":"[Elasticsearch Monitoring] Add cluster_metadata to cluster_stats docs","user":{"login":"ycombinator","id":51061,"node_id":"MDQ6VXNlcjUxMDYx","avatar_url":"https://avatars2.githubusercontent.com/u/51061?v=4","gravatar_id":"","url":"https://api.github.com/users/ycombinator","html_url":"https://github.com/ycombinator","followers_url":"https://api.github.com/users/ycombinator/followers","following_url":"https://api.github.com/users/ycombinator/following{/other_user}","gists_url":"https://api.github.com/users/ycombinator/gists{/gist_id}","starred_url":"https://api.github.com/users/ycombinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ycombinator/subscriptions","organizations_url":"https://api.github.com/users/ycombinator/orgs","repos_url":"https://api.github.com/users/ycombinator/repos","events_url":"https://api.github.com/users/ycombinator/events{/privacy}","received_events_url":"https://api.github.com/users/ycombinator/received_events","type":"User","site_admin":false},"labels":[{"id":331378892,"node_id":"MDU6TGFiZWwzMzEzNzg4OTI=","url":"https://api.github.com/repos/elastic/beats/labels/Metricbeat","name":"Metricbeat","color":"008000","default":false},{"id":216798909,"node_id":"MDU6TGFiZWwyMTY3OTg5MDk=","url":"https://api.github.com/repos/elastic/beats/labels/in%20progress","name":"in progress","color":"207de5","default":false},{"id":983796922,"node_id":"MDU6TGFiZWw5ODM3OTY5MjI=","url":"https://api.github.com/repos/elastic/beats/labels/monitoring","name":"monitoring","color":"41f261","default":false},{"id":884168819,"node_id":"MDU6TGFiZWw4ODQxNjg4MTk=","url":"https://api.github.com/repos/elastic/beats/labels/v7.0.0-alpha1","name":"v7.0.0-alpha1","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-25T23:17:16Z","updated_at":"2018-11-05T23:46:25Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/elastic/beats/pulls/8445","html_url":"https://github.com/elastic/beats/pull/8445","diff_url":"https://github.com/elastic/beats/pull/8445.diff","patch_url":"https://github.com/elastic/beats/pull/8445.patch"},"body":"Porting over https://github.com/elastic/elasticsearch/pull/33860 to the Metricbeat Elasticsearch module (X-Pack Monitoring code path).\r\n\r\nThis PR teaches Elasticsearch X-Pack Monitoring to collect cluster metadata, if any is set, and index it into `cluster_stats` docs in `.monitoring-es-6-mb-*`.\r\n\r\nAfter this PR, `cluster_stats` docs in `.monitoring-es-6-mb-*` will contain an additional top-level `cluster_settings` field like so:\r\n\r\n```\r\n{\r\n   ...\r\n   \"cluster_settings\": {\r\n     \"cluster\": {\r\n       \"metadata\": {\r\n         ...\r\n       }\r\n     }\r\n   }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/elastic/beats/issues/comments/436078659","html_url":"https://github.com/elastic/beats/pull/8445#issuecomment-436078659","issue_url":"https://api.github.com/repos/elastic/beats/issues/8445","id":436078659,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjA3ODY1OQ==","user":{"login":"ycombinator","id":51061,"node_id":"MDQ6VXNlcjUxMDYx","avatar_url":"https://avatars2.githubusercontent.com/u/51061?v=4","gravatar_id":"","url":"https://api.github.com/users/ycombinator","html_url":"https://github.com/ycombinator","followers_url":"https://api.github.com/users/ycombinator/followers","following_url":"https://api.github.com/users/ycombinator/following{/other_user}","gists_url":"https://api.github.com/users/ycombinator/gists{/gist_id}","starred_url":"https://api.github.com/users/ycombinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ycombinator/subscriptions","organizations_url":"https://api.github.com/users/ycombinator/orgs","repos_url":"https://api.github.com/users/ycombinator/repos","events_url":"https://api.github.com/users/ycombinator/events{/privacy}","received_events_url":"https://api.github.com/users/ycombinator/received_events","type":"User","site_admin":false},"created_at":"2018-11-05T23:46:25Z","updated_at":"2018-11-05T23:46:25Z","author_association":"CONTRIBUTOR","body":"@ruflin I've made this PR's implementation now consistent with the internal ES collector implementation. Ready for your review again. Thanks!"}}
{"actor":{"display_login":"ycombinator"}}