{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/27362","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/27362/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/27362/comments","events_url":"https://api.github.com/repos/docker/docker/issues/27362/events","html_url":"https://github.com/docker/docker/issues/27362","id":182860478,"number":27362,"title":"awslogs: add support for selecting group/stream from label instead of name","user":{"login":"jamiethermo","id":9422866,"avatar_url":"https://avatars.githubusercontent.com/u/9422866?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiethermo","html_url":"https://github.com/jamiethermo","followers_url":"https://api.github.com/users/jamiethermo/followers","following_url":"https://api.github.com/users/jamiethermo/following{/other_user}","gists_url":"https://api.github.com/users/jamiethermo/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiethermo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiethermo/subscriptions","organizations_url":"https://api.github.com/users/jamiethermo/orgs","repos_url":"https://api.github.com/users/jamiethermo/repos","events_url":"https://api.github.com/users/jamiethermo/events{/privacy}","received_events_url":"https://api.github.com/users/jamiethermo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/area/logging","name":"area/logging","color":"fbca04"},{"url":"https://api.github.com/repos/docker/docker/labels/kind/enhancement","name":"kind/enhancement","color":"E8CAAF"},{"url":"https://api.github.com/repos/docker/docker/labels/status/claimed","name":"status/claimed","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-13T18:10:03Z","updated_at":"2016-10-20T20:23:27Z","closed_at":null,"body":"Current implementation of cloudwatchlogs allows selecting the stream name from either the container ID or a daemon parameter. It would be tremendously useful if we could select the stream name from a label on the container if it exists, and failing with the current solution for default. I'd like to specify the name of the label in the docker daemon."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/255217489","html_url":"https://github.com/docker/docker/issues/27362#issuecomment-255217489","issue_url":"https://api.github.com/repos/docker/docker/issues/27362","id":255217489,"user":{"login":"samuelkarp","id":737750,"avatar_url":"https://avatars.githubusercontent.com/u/737750?v=3","gravatar_id":"","url":"https://api.github.com/users/samuelkarp","html_url":"https://github.com/samuelkarp","followers_url":"https://api.github.com/users/samuelkarp/followers","following_url":"https://api.github.com/users/samuelkarp/following{/other_user}","gists_url":"https://api.github.com/users/samuelkarp/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelkarp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelkarp/subscriptions","organizations_url":"https://api.github.com/users/samuelkarp/orgs","repos_url":"https://api.github.com/users/samuelkarp/repos","events_url":"https://api.github.com/users/samuelkarp/events{/privacy}","received_events_url":"https://api.github.com/users/samuelkarp/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T20:23:27Z","updated_at":"2016-10-20T20:23:27Z","body":"@thaJeztah Thanks for pinging me!\r\n\r\n@jamiethermo The log driver allows selecting the stream name from the container ID, a log-opt specified on the daemon, or a log-opt specified as part of `docker run` (i.e., you can explicitly specify the stream name when you launch the container).  https://github.com/docker/docker/pull/25633 is a pull request adding the feature of specifying the stream name from a template instead of just statically; it might be worthwhile ensuring that a label can be referenced from the template if you're interested specifically in labels."}}
{"actor":{"display_login":"samuelkarp"}}