{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/68796","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/68796/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/68796/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/68796/events","html_url":"https://github.com/kubernetes/kubernetes/issues/68796","id":361412309,"node_id":"MDU6SXNzdWUzNjE0MTIzMDk=","number":68796,"title":"Enrich logs with kubernetes metadata","user":{"login":"lopf","id":24865808,"node_id":"MDQ6VXNlcjI0ODY1ODA4","avatar_url":"https://avatars1.githubusercontent.com/u/24865808?v=4","gravatar_id":"","url":"https://api.github.com/users/lopf","html_url":"https://github.com/lopf","followers_url":"https://api.github.com/users/lopf/followers","following_url":"https://api.github.com/users/lopf/following{/other_user}","gists_url":"https://api.github.com/users/lopf/gists{/gist_id}","starred_url":"https://api.github.com/users/lopf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lopf/subscriptions","organizations_url":"https://api.github.com/users/lopf/orgs","repos_url":"https://api.github.com/users/lopf/repos","events_url":"https://api.github.com/users/lopf/events{/privacy}","received_events_url":"https://api.github.com/users/lopf/received_events","type":"User","site_admin":false},"labels":[{"id":267761362,"node_id":"MDU6TGFiZWwyNjc3NjEzNjI=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/feature","name":"kind/feature","color":"c7def8","default":false},{"id":617149945,"node_id":"MDU6TGFiZWw2MTcxNDk5NDU=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/needs-sig","name":"needs-sig","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-18T17:44:45Z","updated_at":"2018-09-18T17:47:06Z","closed_at":"2018-09-18T17:45:45Z","author_association":"NONE","body":"/kind feature\r\n\r\n**Environment**:\r\n- Kubernetes version (use `kubectl version`): 1.10\r\n- Cloud provider or hardware configuration: CDK on-prem\r\n- OS (e.g. from /etc/os-release): Ubuntu 16.04\r\n\r\nCDK deploys Graylog as a central logging instance. The default filebeat configuration adds nothing essential to event logs.\r\n\r\nWhile one can filter for a particular pod using the (IMO ugly) query `type:kube\\-logs AND file:\\/var\\/log\\/containers\\/mypod*`, it would be much better if filebeat would add kubernetes metadata into separate fields. Filebeat seems to have this capability already, see: https://www.elastic.co/guide/en/beats/filebeat/master/add-kubernetes-metadata.html\r\n\r\nThis would enrich the events in graylog with fields such as:\r\n- Podname\r\n- Namespace\r\n- Labels"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/422485802","html_url":"https://github.com/kubernetes/kubernetes/issues/68796#issuecomment-422485802","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/68796","id":422485802,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjQ4NTgwMg==","user":{"login":"lopf","id":24865808,"node_id":"MDQ6VXNlcjI0ODY1ODA4","avatar_url":"https://avatars1.githubusercontent.com/u/24865808?v=4","gravatar_id":"","url":"https://api.github.com/users/lopf","html_url":"https://github.com/lopf","followers_url":"https://api.github.com/users/lopf/followers","following_url":"https://api.github.com/users/lopf/following{/other_user}","gists_url":"https://api.github.com/users/lopf/gists{/gist_id}","starred_url":"https://api.github.com/users/lopf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lopf/subscriptions","organizations_url":"https://api.github.com/users/lopf/orgs","repos_url":"https://api.github.com/users/lopf/repos","events_url":"https://api.github.com/users/lopf/events{/privacy}","received_events_url":"https://api.github.com/users/lopf/received_events","type":"User","site_admin":false},"created_at":"2018-09-18T17:47:06Z","updated_at":"2018-09-18T17:47:06Z","author_association":"NONE","body":"re-opened here: https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/651"}}
{"actor":{"display_login":"lopf"}}