{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/beats/issues/9139","repository_url":"https://api.github.com/repos/elastic/beats","labels_url":"https://api.github.com/repos/elastic/beats/issues/9139/labels{/name}","comments_url":"https://api.github.com/repos/elastic/beats/issues/9139/comments","events_url":"https://api.github.com/repos/elastic/beats/issues/9139/events","html_url":"https://github.com/elastic/beats/pull/9139","id":381769471,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNjYyNTg2","number":9139,"title":"[Auditbeat] Update process metricset","user":{"login":"cwurm","id":694597,"node_id":"MDQ6VXNlcjY5NDU5Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/694597?v=4","gravatar_id":"","url":"https://api.github.com/users/cwurm","html_url":"https://github.com/cwurm","followers_url":"https://api.github.com/users/cwurm/followers","following_url":"https://api.github.com/users/cwurm/following{/other_user}","gists_url":"https://api.github.com/users/cwurm/gists{/gist_id}","starred_url":"https://api.github.com/users/cwurm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwurm/subscriptions","organizations_url":"https://api.github.com/users/cwurm/orgs","repos_url":"https://api.github.com/users/cwurm/repos","events_url":"https://api.github.com/users/cwurm/events{/privacy}","received_events_url":"https://api.github.com/users/cwurm/received_events","type":"User","site_admin":false},"labels":[{"id":634939748,"node_id":"MDU6TGFiZWw2MzQ5Mzk3NDg=","url":"https://api.github.com/repos/elastic/beats/labels/Auditbeat","name":"Auditbeat","color":"0e8a16","default":false},{"id":1096959716,"node_id":"MDU6TGFiZWwxMDk2OTU5NzE2","url":"https://api.github.com/repos/elastic/beats/labels/SecOps","name":"SecOps","color":"1d76db","default":false},{"id":228068770,"node_id":"MDU6TGFiZWwyMjgwNjg3NzA=","url":"https://api.github.com/repos/elastic/beats/labels/review","name":"review","color":"207de5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-16T21:38:18Z","updated_at":"2018-11-16T21:38:19Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/elastic/beats/pulls/9139","html_url":"https://github.com/elastic/beats/pull/9139","diff_url":"https://github.com/elastic/beats/pull/9139.diff","patch_url":"https://github.com/elastic/beats/pull/9139.patch"},"body":"(Sorry for the vague name - maybe I should have done this in multiple PRs, but since this is still going into the features branch I didn't want to make it too complicated.)\r\n\r\nFollowing all our discussions and decisions the initial implementation of the `processes` metricset was  rather outdated (same with `host` and `packages`). This PR basically updates it to follow the newest conventions (esp. those laid out in the now merged [`user` metricset](https://github.com/elastic/beats/pull/8835)).\r\n\r\nHigh-level changes:\r\n\r\n- [x] Rename from `processes` to `process`\r\n- [x] Change to single documents instead of arrays\r\n- [x] Scheduled state reporting\r\n\r\nEven though I used `git mv` it seems Github is showing `process.go` as completely new in the PR view. Since these are just two commits it might be easier to look at them directly:\r\n\r\n1. [Rename system/processes to system/process.](https://github.com/elastic/beats/commit/3192422fbaf4b58a3c4acb9cd38b196e7bda3384)\r\n2. [Change to single documents.](https://github.com/elastic/beats/commit/3388577abb3add14fb2c50b3a2a31b9cdf6b1668)\r\n"},"comment":{"url":"https://api.github.com/repos/elastic/beats/issues/comments/439537110","html_url":"https://github.com/elastic/beats/pull/9139#issuecomment-439537110","issue_url":"https://api.github.com/repos/elastic/beats/issues/9139","id":439537110,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTUzNzExMA==","user":{"login":"elasticmachine","id":15837671,"node_id":"MDQ6VXNlcjE1ODM3Njcx","avatar_url":"https://avatars3.githubusercontent.com/u/15837671?v=4","gravatar_id":"","url":"https://api.github.com/users/elasticmachine","html_url":"https://github.com/elasticmachine","followers_url":"https://api.github.com/users/elasticmachine/followers","following_url":"https://api.github.com/users/elasticmachine/following{/other_user}","gists_url":"https://api.github.com/users/elasticmachine/gists{/gist_id}","starred_url":"https://api.github.com/users/elasticmachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elasticmachine/subscriptions","organizations_url":"https://api.github.com/users/elasticmachine/orgs","repos_url":"https://api.github.com/users/elasticmachine/repos","events_url":"https://api.github.com/users/elasticmachine/events{/privacy}","received_events_url":"https://api.github.com/users/elasticmachine/received_events","type":"User","site_admin":false},"created_at":"2018-11-16T21:38:19Z","updated_at":"2018-11-16T21:38:19Z","author_association":"NONE","body":"Pinging @elastic/secops"}}
{"actor":{"display_login":"elasticmachine"}}