{"action":"closed","number":19,"pull_request":{"url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/pulls/19","id":110523511,"html_url":"https://github.com/saymedia/journald-cloudwatch-logs/pull/19","diff_url":"https://github.com/saymedia/journald-cloudwatch-logs/pull/19.diff","patch_url":"https://github.com/saymedia/journald-cloudwatch-logs/pull/19.patch","issue_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/issues/19","number":19,"state":"closed","locked":false,"title":"Add EC2 metadata and OS environment variable expansion support in the config","user":{"login":"trav-c","id":6055998,"avatar_url":"https://avatars2.githubusercontent.com/u/6055998?v=3","gravatar_id":"","url":"https://api.github.com/users/trav-c","html_url":"https://github.com/trav-c","followers_url":"https://api.github.com/users/trav-c/followers","following_url":"https://api.github.com/users/trav-c/following{/other_user}","gists_url":"https://api.github.com/users/trav-c/gists{/gist_id}","starred_url":"https://api.github.com/users/trav-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trav-c/subscriptions","organizations_url":"https://api.github.com/users/trav-c/orgs","repos_url":"https://api.github.com/users/trav-c/repos","events_url":"https://api.github.com/users/trav-c/events{/privacy}","received_events_url":"https://api.github.com/users/trav-c/received_events","type":"User","site_admin":false},"body":"This branch adds support for variable expansion in the config file, in particular I had a need to name the log stream with general category information, but still include unique instance information (in this case the id) as part of the name on auto-scaling instances. With this patch that can now be done directly in the config using eg:\r\n`log_stream = \"UAT-WEB-${InstanceID}\"`","created_at":"2017-03-14T00:04:56Z","updated_at":"2017-03-22T00:12:37Z","closed_at":"2017-03-22T00:12:37Z","merged_at":"2017-03-22T00:12:37Z","merge_commit_sha":"df8eb69f89f8dc0b0339a2f3811599a84aa9589c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/pulls/19/commits","review_comments_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/pulls/19/comments","review_comment_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/issues/19/comments","statuses_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/statuses/30c4a5711783755e99e8abe42002cc898a111dbc","head":{"label":"trav-c:configvars","ref":"configvars","sha":"30c4a5711783755e99e8abe42002cc898a111dbc","user":{"login":"trav-c","id":6055998,"avatar_url":"https://avatars2.githubusercontent.com/u/6055998?v=3","gravatar_id":"","url":"https://api.github.com/users/trav-c","html_url":"https://github.com/trav-c","followers_url":"https://api.github.com/users/trav-c/followers","following_url":"https://api.github.com/users/trav-c/following{/other_user}","gists_url":"https://api.github.com/users/trav-c/gists{/gist_id}","starred_url":"https://api.github.com/users/trav-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trav-c/subscriptions","organizations_url":"https://api.github.com/users/trav-c/orgs","repos_url":"https://api.github.com/users/trav-c/repos","events_url":"https://api.github.com/users/trav-c/events{/privacy}","received_events_url":"https://api.github.com/users/trav-c/received_events","type":"User","site_admin":false},"repo":{"id":84881567,"name":"journald-cloudwatch-logs","full_name":"trav-c/journald-cloudwatch-logs","owner":{"login":"trav-c","id":6055998,"avatar_url":"https://avatars2.githubusercontent.com/u/6055998?v=3","gravatar_id":"","url":"https://api.github.com/users/trav-c","html_url":"https://github.com/trav-c","followers_url":"https://api.github.com/users/trav-c/followers","following_url":"https://api.github.com/users/trav-c/following{/other_user}","gists_url":"https://api.github.com/users/trav-c/gists{/gist_id}","starred_url":"https://api.github.com/users/trav-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trav-c/subscriptions","organizations_url":"https://api.github.com/users/trav-c/orgs","repos_url":"https://api.github.com/users/trav-c/repos","events_url":"https://api.github.com/users/trav-c/events{/privacy}","received_events_url":"https://api.github.com/users/trav-c/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trav-c/journald-cloudwatch-logs","description":"Collects logs from journald and writes them to CloudWatch Logs as JSON","fork":true,"url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs","forks_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/forks","keys_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/teams","hooks_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/hooks","issue_events_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/issues/events{/number}","events_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/events","assignees_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/assignees{/user}","branches_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/branches{/branch}","tags_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/tags","blobs_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/git/refs{/sha}","trees_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/statuses/{sha}","languages_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/languages","stargazers_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/stargazers","contributors_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/contributors","subscribers_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/subscribers","subscription_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/subscription","commits_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/commits{/sha}","git_commits_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/git/commits{/sha}","comments_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/comments{/number}","issue_comment_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/issues/comments{/number}","contents_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/contents/{+path}","compare_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/merges","archive_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/downloads","issues_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/issues{/number}","pulls_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/pulls{/number}","milestones_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/milestones{/number}","notifications_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/labels{/name}","releases_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/releases{/id}","deployments_url":"https://api.github.com/repos/trav-c/journald-cloudwatch-logs/deployments","created_at":"2017-03-13T22:42:36Z","updated_at":"2017-03-13T22:42:37Z","pushed_at":"2017-03-21T23:58:16Z","git_url":"git://github.com/trav-c/journald-cloudwatch-logs.git","ssh_url":"git@github.com:trav-c/journald-cloudwatch-logs.git","clone_url":"https://github.com/trav-c/journald-cloudwatch-logs.git","svn_url":"https://github.com/trav-c/journald-cloudwatch-logs","homepage":null,"size":245,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"saymedia:master","ref":"master","sha":"d1bae1c346f56235da3ae2350598c99cf46c3d36","user":{"login":"saymedia","id":53830,"avatar_url":"https://avatars0.githubusercontent.com/u/53830?v=3","gravatar_id":"","url":"https://api.github.com/users/saymedia","html_url":"https://github.com/saymedia","followers_url":"https://api.github.com/users/saymedia/followers","following_url":"https://api.github.com/users/saymedia/following{/other_user}","gists_url":"https://api.github.com/users/saymedia/gists{/gist_id}","starred_url":"https://api.github.com/users/saymedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saymedia/subscriptions","organizations_url":"https://api.github.com/users/saymedia/orgs","repos_url":"https://api.github.com/users/saymedia/repos","events_url":"https://api.github.com/users/saymedia/events{/privacy}","received_events_url":"https://api.github.com/users/saymedia/received_events","type":"Organization","site_admin":false},"repo":{"id":48464742,"name":"journald-cloudwatch-logs","full_name":"saymedia/journald-cloudwatch-logs","owner":{"login":"saymedia","id":53830,"avatar_url":"https://avatars0.githubusercontent.com/u/53830?v=3","gravatar_id":"","url":"https://api.github.com/users/saymedia","html_url":"https://github.com/saymedia","followers_url":"https://api.github.com/users/saymedia/followers","following_url":"https://api.github.com/users/saymedia/following{/other_user}","gists_url":"https://api.github.com/users/saymedia/gists{/gist_id}","starred_url":"https://api.github.com/users/saymedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saymedia/subscriptions","organizations_url":"https://api.github.com/users/saymedia/orgs","repos_url":"https://api.github.com/users/saymedia/repos","events_url":"https://api.github.com/users/saymedia/events{/privacy}","received_events_url":"https://api.github.com/users/saymedia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/saymedia/journald-cloudwatch-logs","description":"Collects logs from journald and writes them to CloudWatch Logs as JSON","fork":false,"url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs","forks_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/forks","keys_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/teams","hooks_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/hooks","issue_events_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/issues/events{/number}","events_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/events","assignees_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/assignees{/user}","branches_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/branches{/branch}","tags_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/tags","blobs_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/git/refs{/sha}","trees_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/statuses/{sha}","languages_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/languages","stargazers_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/stargazers","contributors_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/contributors","subscribers_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/subscribers","subscription_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/subscription","commits_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/commits{/sha}","git_commits_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/git/commits{/sha}","comments_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/comments{/number}","issue_comment_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/issues/comments{/number}","contents_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/contents/{+path}","compare_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/merges","archive_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/downloads","issues_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/issues{/number}","pulls_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/pulls{/number}","milestones_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/milestones{/number}","notifications_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/labels{/name}","releases_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/releases{/id}","deployments_url":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/deployments","created_at":"2015-12-23T02:33:40Z","updated_at":"2017-03-10T01:26:19Z","pushed_at":"2017-03-22T00:12:37Z","git_url":"git://github.com/saymedia/journald-cloudwatch-logs.git","ssh_url":"git@github.com:saymedia/journald-cloudwatch-logs.git","clone_url":"https://github.com/saymedia/journald-cloudwatch-logs.git","svn_url":"https://github.com/saymedia/journald-cloudwatch-logs","homepage":null,"size":245,"stargazers_count":42,"watchers_count":42,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":5,"forks":31,"open_issues":5,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/pulls/19"},"html":{"href":"https://github.com/saymedia/journald-cloudwatch-logs/pull/19"},"issue":{"href":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/issues/19"},"comments":{"href":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/saymedia/journald-cloudwatch-logs/statuses/30c4a5711783755e99e8abe42002cc898a111dbc"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"apparentlymart","id":20180,"avatar_url":"https://avatars2.githubusercontent.com/u/20180?v=3","gravatar_id":"","url":"https://api.github.com/users/apparentlymart","html_url":"https://github.com/apparentlymart","followers_url":"https://api.github.com/users/apparentlymart/followers","following_url":"https://api.github.com/users/apparentlymart/following{/other_user}","gists_url":"https://api.github.com/users/apparentlymart/gists{/gist_id}","starred_url":"https://api.github.com/users/apparentlymart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apparentlymart/subscriptions","organizations_url":"https://api.github.com/users/apparentlymart/orgs","repos_url":"https://api.github.com/users/apparentlymart/repos","events_url":"https://api.github.com/users/apparentlymart/events{/privacy}","received_events_url":"https://api.github.com/users/apparentlymart/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":111,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"apparentlymart"}}