{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/beats/issues/9507","repository_url":"https://api.github.com/repos/elastic/beats","labels_url":"https://api.github.com/repos/elastic/beats/issues/9507/labels{/name}","comments_url":"https://api.github.com/repos/elastic/beats/issues/9507/comments","events_url":"https://api.github.com/repos/elastic/beats/issues/9507/events","html_url":"https://github.com/elastic/beats/pull/9507","id":390138582,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3OTY4MDc1","number":9507,"title":"[WIP] Introduce local fields generation","user":{"login":"ruflin","id":244900,"node_id":"MDQ6VXNlcjI0NDkwMA==","avatar_url":"https://avatars3.githubusercontent.com/u/244900?v=4","gravatar_id":"","url":"https://api.github.com/users/ruflin","html_url":"https://github.com/ruflin","followers_url":"https://api.github.com/users/ruflin/followers","following_url":"https://api.github.com/users/ruflin/following{/other_user}","gists_url":"https://api.github.com/users/ruflin/gists{/gist_id}","starred_url":"https://api.github.com/users/ruflin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruflin/subscriptions","organizations_url":"https://api.github.com/users/ruflin/orgs","repos_url":"https://api.github.com/users/ruflin/repos","events_url":"https://api.github.com/users/ruflin/events{/privacy}","received_events_url":"https://api.github.com/users/ruflin/received_events","type":"User","site_admin":false},"labels":[{"id":1135227315,"node_id":"MDU6TGFiZWwxMTM1MjI3MzE1","url":"https://api.github.com/repos/elastic/beats/labels/:infrastructure","name":":infrastructure","color":"47e8a5","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":294278853,"node_id":"MDU6TGFiZWwyOTQyNzg4NTM=","url":"https://api.github.com/repos/elastic/beats/labels/libbeat","name":"libbeat","color":"008000","default":false}],"state":"open","locked":false,"assignee":{"login":"ruflin","id":244900,"node_id":"MDQ6VXNlcjI0NDkwMA==","avatar_url":"https://avatars3.githubusercontent.com/u/244900?v=4","gravatar_id":"","url":"https://api.github.com/users/ruflin","html_url":"https://github.com/ruflin","followers_url":"https://api.github.com/users/ruflin/followers","following_url":"https://api.github.com/users/ruflin/following{/other_user}","gists_url":"https://api.github.com/users/ruflin/gists{/gist_id}","starred_url":"https://api.github.com/users/ruflin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruflin/subscriptions","organizations_url":"https://api.github.com/users/ruflin/orgs","repos_url":"https://api.github.com/users/ruflin/repos","events_url":"https://api.github.com/users/ruflin/events{/privacy}","received_events_url":"https://api.github.com/users/ruflin/received_events","type":"User","site_admin":false},"assignees":[{"login":"ruflin","id":244900,"node_id":"MDQ6VXNlcjI0NDkwMA==","avatar_url":"https://avatars3.githubusercontent.com/u/244900?v=4","gravatar_id":"","url":"https://api.github.com/users/ruflin","html_url":"https://github.com/ruflin","followers_url":"https://api.github.com/users/ruflin/followers","following_url":"https://api.github.com/users/ruflin/following{/other_user}","gists_url":"https://api.github.com/users/ruflin/gists{/gist_id}","starred_url":"https://api.github.com/users/ruflin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruflin/subscriptions","organizations_url":"https://api.github.com/users/ruflin/orgs","repos_url":"https://api.github.com/users/ruflin/repos","events_url":"https://api.github.com/users/ruflin/events{/privacy}","received_events_url":"https://api.github.com/users/ruflin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-12-12T09:35:18Z","updated_at":"2018-12-13T09:01:54Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/elastic/beats/pulls/9507","html_url":"https://github.com/elastic/beats/pull/9507","diff_url":"https://github.com/elastic/beats/pull/9507.diff","patch_url":"https://github.com/elastic/beats/pull/9507.patch"},"body":"This introduces a fields.go for libbeat instead of having one global fields.go in each Beat with all values. Already today this exists in Metricbeat but is a bit of a hack.\r\n\r\nThe advantage of having many smaller fields.go files is to it causes less conflicts on pull requests as when libbeat fields are changed not all Beats need an update. This should also allow for more granular fields generation in the future like Metricbeat has today.\r\n\r\nTo facilitate this change during the generation of the full fields.yml, mutliple smaller fields.yml files in the build directory are generated which then are used to generate the fields.go files.\r\n\r\nTODO:\r\n\r\n* Test changes, make sure no changes to fields.yml, including order\r\n* Update makefiles for Filebeat / Packetbeat / Auditbeat to make sure also module files are generated"},"comment":{"url":"https://api.github.com/repos/elastic/beats/issues/comments/446892154","html_url":"https://github.com/elastic/beats/pull/9507#issuecomment-446892154","issue_url":"https://api.github.com/repos/elastic/beats/issues/9507","id":446892154,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Njg5MjE1NA==","user":{"login":"ruflin","id":244900,"node_id":"MDQ6VXNlcjI0NDkwMA==","avatar_url":"https://avatars3.githubusercontent.com/u/244900?v=4","gravatar_id":"","url":"https://api.github.com/users/ruflin","html_url":"https://github.com/ruflin","followers_url":"https://api.github.com/users/ruflin/followers","following_url":"https://api.github.com/users/ruflin/following{/other_user}","gists_url":"https://api.github.com/users/ruflin/gists{/gist_id}","starred_url":"https://api.github.com/users/ruflin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruflin/subscriptions","organizations_url":"https://api.github.com/users/ruflin/orgs","repos_url":"https://api.github.com/users/ruflin/repos","events_url":"https://api.github.com/users/ruflin/events{/privacy}","received_events_url":"https://api.github.com/users/ruflin/received_events","type":"User","site_admin":false},"created_at":"2018-12-13T09:01:54Z","updated_at":"2018-12-13T09:01:54Z","author_association":"COLLABORATOR","body":"@andrewkroh Would be great if you could help with this."}}
{"actor":{"display_login":"ruflin"}}