{"action":"created","comment":{"url":"https://api.github.com/repos/rolepoint/deis-logging/pulls/comments/44560867","id":44560867,"diff_hunk":"@@ -0,0 +1,48 @@\n+This repository contains some docker images for logging with deis.  It's\n+packages are designed to completely replace the docker-logspout and\n+docker-logger components, when running a stateless cluster and using an\n+external log-hosting service (such as logentries).\n+\n+It was designed to work with logentries, but there's no reason it couldn't be\n+adapted to work with other log services.\n+\n+It was partially inspired by\n+[rsyslog-deis](https://github.com/everydayhero/rsyslog-deis) but with some\n+extra functionality.\n+\n+### Deis-syslog-ng\n+\n+deis-syslog-ng is designed as a replacement for deis-logger.  It runs a\n+syslog-ng instance that gets most of it's configuration from etcd.  It uses\n+confd to monitor etcd for changes and re-generate the config.\n+\n+It will look for keys under `/deis/log/syslog-ng` in etcd.  Each key in this\n+directory should contain some JSON with a few keys:\n+\n+* `url` should contain a URL of the form \"hostname:port\" that logs should be\n+  forwarded to.\n+* `filter` should contain a valid syslog-ng filter expression.  Only logs that\n+  match this filter will be forwarded to `url`.\n+* `template` should contain the syslog-ng template to use for formatting log\n+  messages.  This should include any tokens required by your log service.\n+\n+For example, to setup a log with etcdctl:\n+\n+    etcdctl set /deis/log/syslog-ng/my-app '{\"url\": \"data.logentries.com:514\", \"filter\": \"program(my-app)\", \"template\": \"123456 $MSG\"}''","path":"README.md","position":31,"original_position":31,"commit_id":"d8dfe36476707822547a834f42469850e3cd9a3c","original_commit_id":"d8dfe36476707822547a834f42469850e3cd9a3c","user":{"login":"obmarg","id":556490,"avatar_url":"https://avatars.githubusercontent.com/u/556490?v=3","gravatar_id":"","url":"https://api.github.com/users/obmarg","html_url":"https://github.com/obmarg","followers_url":"https://api.github.com/users/obmarg/followers","following_url":"https://api.github.com/users/obmarg/following{/other_user}","gists_url":"https://api.github.com/users/obmarg/gists{/gist_id}","starred_url":"https://api.github.com/users/obmarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obmarg/subscriptions","organizations_url":"https://api.github.com/users/obmarg/orgs","repos_url":"https://api.github.com/users/obmarg/repos","events_url":"https://api.github.com/users/obmarg/events{/privacy}","received_events_url":"https://api.github.com/users/obmarg/received_events","type":"User","site_admin":false},"body":"(It took me 60+ minutes to figure that issue out)","created_at":"2015-11-11T17:38:01Z","updated_at":"2015-11-11T17:38:01Z","html_url":"https://github.com/rolepoint/deis-logging/pull/1#discussion_r44560867","pull_request_url":"https://api.github.com/repos/rolepoint/deis-logging/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/rolepoint/deis-logging/pulls/comments/44560867"},"html":{"href":"https://github.com/rolepoint/deis-logging/pull/1#discussion_r44560867"},"pull_request":{"href":"https://api.github.com/repos/rolepoint/deis-logging/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/rolepoint/deis-logging/pulls/1","id":50404146,"html_url":"https://github.com/rolepoint/deis-logging/pull/1","diff_url":"https://github.com/rolepoint/deis-logging/pull/1.diff","patch_url":"https://github.com/rolepoint/deis-logging/pull/1.patch","issue_url":"https://api.github.com/repos/rolepoint/deis-logging/issues/1","number":1,"state":"open","locked":false,"title":"First take of implementation","user":{"login":"obmarg","id":556490,"avatar_url":"https://avatars.githubusercontent.com/u/556490?v=3","gravatar_id":"","url":"https://api.github.com/users/obmarg","html_url":"https://github.com/obmarg","followers_url":"https://api.github.com/users/obmarg/followers","following_url":"https://api.github.com/users/obmarg/following{/other_user}","gists_url":"https://api.github.com/users/obmarg/gists{/gist_id}","starred_url":"https://api.github.com/users/obmarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obmarg/subscriptions","organizations_url":"https://api.github.com/users/obmarg/orgs","repos_url":"https://api.github.com/users/obmarg/repos","events_url":"https://api.github.com/users/obmarg/events{/privacy}","received_events_url":"https://api.github.com/users/obmarg/received_events","type":"User","site_admin":false},"body":"See README for details basically.","created_at":"2015-11-11T16:32:34Z","updated_at":"2015-11-11T17:38:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"829a90ec6a7178f41eeac0bc9f41d128c77ac841","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rolepoint/deis-logging/pulls/1/commits","review_comments_url":"https://api.github.com/repos/rolepoint/deis-logging/pulls/1/comments","review_comment_url":"https://api.github.com/repos/rolepoint/deis-logging/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rolepoint/deis-logging/issues/1/comments","statuses_url":"https://api.github.com/repos/rolepoint/deis-logging/statuses/d8dfe36476707822547a834f42469850e3cd9a3c","head":{"label":"rolepoint:work2","ref":"work2","sha":"d8dfe36476707822547a834f42469850e3cd9a3c","user":{"login":"rolepoint","id":2790791,"avatar_url":"https://avatars.githubusercontent.com/u/2790791?v=3","gravatar_id":"","url":"https://api.github.com/users/rolepoint","html_url":"https://github.com/rolepoint","followers_url":"https://api.github.com/users/rolepoint/followers","following_url":"https://api.github.com/users/rolepoint/following{/other_user}","gists_url":"https://api.github.com/users/rolepoint/gists{/gist_id}","starred_url":"https://api.github.com/users/rolepoint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolepoint/subscriptions","organizations_url":"https://api.github.com/users/rolepoint/orgs","repos_url":"https://api.github.com/users/rolepoint/repos","events_url":"https://api.github.com/users/rolepoint/events{/privacy}","received_events_url":"https://api.github.com/users/rolepoint/received_events","type":"Organization","site_admin":false},"repo":{"id":45993544,"name":"deis-logging","full_name":"rolepoint/deis-logging","owner":{"login":"rolepoint","id":2790791,"avatar_url":"https://avatars.githubusercontent.com/u/2790791?v=3","gravatar_id":"","url":"https://api.github.com/users/rolepoint","html_url":"https://github.com/rolepoint","followers_url":"https://api.github.com/users/rolepoint/followers","following_url":"https://api.github.com/users/rolepoint/following{/other_user}","gists_url":"https://api.github.com/users/rolepoint/gists{/gist_id}","starred_url":"https://api.github.com/users/rolepoint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolepoint/subscriptions","organizations_url":"https://api.github.com/users/rolepoint/orgs","repos_url":"https://api.github.com/users/rolepoint/repos","events_url":"https://api.github.com/users/rolepoint/events{/privacy}","received_events_url":"https://api.github.com/users/rolepoint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rolepoint/deis-logging","description":"A replacement logging stack for deis, for use with logentries or similar.","fork":false,"url":"https://api.github.com/repos/rolepoint/deis-logging","forks_url":"https://api.github.com/repos/rolepoint/deis-logging/forks","keys_url":"https://api.github.com/repos/rolepoint/deis-logging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rolepoint/deis-logging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rolepoint/deis-logging/teams","hooks_url":"https://api.github.com/repos/rolepoint/deis-logging/hooks","issue_events_url":"https://api.github.com/repos/rolepoint/deis-logging/issues/events{/number}","events_url":"https://api.github.com/repos/rolepoint/deis-logging/events","assignees_url":"https://api.github.com/repos/rolepoint/deis-logging/assignees{/user}","branches_url":"https://api.github.com/repos/rolepoint/deis-logging/branches{/branch}","tags_url":"https://api.github.com/repos/rolepoint/deis-logging/tags","blobs_url":"https://api.github.com/repos/rolepoint/deis-logging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rolepoint/deis-logging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rolepoint/deis-logging/git/refs{/sha}","trees_url":"https://api.github.com/repos/rolepoint/deis-logging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rolepoint/deis-logging/statuses/{sha}","languages_url":"https://api.github.com/repos/rolepoint/deis-logging/languages","stargazers_url":"https://api.github.com/repos/rolepoint/deis-logging/stargazers","contributors_url":"https://api.github.com/repos/rolepoint/deis-logging/contributors","subscribers_url":"https://api.github.com/repos/rolepoint/deis-logging/subscribers","subscription_url":"https://api.github.com/repos/rolepoint/deis-logging/subscription","commits_url":"https://api.github.com/repos/rolepoint/deis-logging/commits{/sha}","git_commits_url":"https://api.github.com/repos/rolepoint/deis-logging/git/commits{/sha}","comments_url":"https://api.github.com/repos/rolepoint/deis-logging/comments{/number}","issue_comment_url":"https://api.github.com/repos/rolepoint/deis-logging/issues/comments{/number}","contents_url":"https://api.github.com/repos/rolepoint/deis-logging/contents/{+path}","compare_url":"https://api.github.com/repos/rolepoint/deis-logging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rolepoint/deis-logging/merges","archive_url":"https://api.github.com/repos/rolepoint/deis-logging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rolepoint/deis-logging/downloads","issues_url":"https://api.github.com/repos/rolepoint/deis-logging/issues{/number}","pulls_url":"https://api.github.com/repos/rolepoint/deis-logging/pulls{/number}","milestones_url":"https://api.github.com/repos/rolepoint/deis-logging/milestones{/number}","notifications_url":"https://api.github.com/repos/rolepoint/deis-logging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rolepoint/deis-logging/labels{/name}","releases_url":"https://api.github.com/repos/rolepoint/deis-logging/releases{/id}","created_at":"2015-11-11T16:28:08Z","updated_at":"2015-11-11T16:28:34Z","pushed_at":"2015-11-11T16:32:35Z","git_url":"git://github.com/rolepoint/deis-logging.git","ssh_url":"git@github.com:rolepoint/deis-logging.git","clone_url":"https://github.com/rolepoint/deis-logging.git","svn_url":"https://github.com/rolepoint/deis-logging","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"rolepoint:master","ref":"master","sha":"0ac685f578f0161688f250c5be382e734439ce4d","user":{"login":"rolepoint","id":2790791,"avatar_url":"https://avatars.githubusercontent.com/u/2790791?v=3","gravatar_id":"","url":"https://api.github.com/users/rolepoint","html_url":"https://github.com/rolepoint","followers_url":"https://api.github.com/users/rolepoint/followers","following_url":"https://api.github.com/users/rolepoint/following{/other_user}","gists_url":"https://api.github.com/users/rolepoint/gists{/gist_id}","starred_url":"https://api.github.com/users/rolepoint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolepoint/subscriptions","organizations_url":"https://api.github.com/users/rolepoint/orgs","repos_url":"https://api.github.com/users/rolepoint/repos","events_url":"https://api.github.com/users/rolepoint/events{/privacy}","received_events_url":"https://api.github.com/users/rolepoint/received_events","type":"Organization","site_admin":false},"repo":{"id":45993544,"name":"deis-logging","full_name":"rolepoint/deis-logging","owner":{"login":"rolepoint","id":2790791,"avatar_url":"https://avatars.githubusercontent.com/u/2790791?v=3","gravatar_id":"","url":"https://api.github.com/users/rolepoint","html_url":"https://github.com/rolepoint","followers_url":"https://api.github.com/users/rolepoint/followers","following_url":"https://api.github.com/users/rolepoint/following{/other_user}","gists_url":"https://api.github.com/users/rolepoint/gists{/gist_id}","starred_url":"https://api.github.com/users/rolepoint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolepoint/subscriptions","organizations_url":"https://api.github.com/users/rolepoint/orgs","repos_url":"https://api.github.com/users/rolepoint/repos","events_url":"https://api.github.com/users/rolepoint/events{/privacy}","received_events_url":"https://api.github.com/users/rolepoint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rolepoint/deis-logging","description":"A replacement logging stack for deis, for use with logentries or similar.","fork":false,"url":"https://api.github.com/repos/rolepoint/deis-logging","forks_url":"https://api.github.com/repos/rolepoint/deis-logging/forks","keys_url":"https://api.github.com/repos/rolepoint/deis-logging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rolepoint/deis-logging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rolepoint/deis-logging/teams","hooks_url":"https://api.github.com/repos/rolepoint/deis-logging/hooks","issue_events_url":"https://api.github.com/repos/rolepoint/deis-logging/issues/events{/number}","events_url":"https://api.github.com/repos/rolepoint/deis-logging/events","assignees_url":"https://api.github.com/repos/rolepoint/deis-logging/assignees{/user}","branches_url":"https://api.github.com/repos/rolepoint/deis-logging/branches{/branch}","tags_url":"https://api.github.com/repos/rolepoint/deis-logging/tags","blobs_url":"https://api.github.com/repos/rolepoint/deis-logging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rolepoint/deis-logging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rolepoint/deis-logging/git/refs{/sha}","trees_url":"https://api.github.com/repos/rolepoint/deis-logging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rolepoint/deis-logging/statuses/{sha}","languages_url":"https://api.github.com/repos/rolepoint/deis-logging/languages","stargazers_url":"https://api.github.com/repos/rolepoint/deis-logging/stargazers","contributors_url":"https://api.github.com/repos/rolepoint/deis-logging/contributors","subscribers_url":"https://api.github.com/repos/rolepoint/deis-logging/subscribers","subscription_url":"https://api.github.com/repos/rolepoint/deis-logging/subscription","commits_url":"https://api.github.com/repos/rolepoint/deis-logging/commits{/sha}","git_commits_url":"https://api.github.com/repos/rolepoint/deis-logging/git/commits{/sha}","comments_url":"https://api.github.com/repos/rolepoint/deis-logging/comments{/number}","issue_comment_url":"https://api.github.com/repos/rolepoint/deis-logging/issues/comments{/number}","contents_url":"https://api.github.com/repos/rolepoint/deis-logging/contents/{+path}","compare_url":"https://api.github.com/repos/rolepoint/deis-logging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rolepoint/deis-logging/merges","archive_url":"https://api.github.com/repos/rolepoint/deis-logging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rolepoint/deis-logging/downloads","issues_url":"https://api.github.com/repos/rolepoint/deis-logging/issues{/number}","pulls_url":"https://api.github.com/repos/rolepoint/deis-logging/pulls{/number}","milestones_url":"https://api.github.com/repos/rolepoint/deis-logging/milestones{/number}","notifications_url":"https://api.github.com/repos/rolepoint/deis-logging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rolepoint/deis-logging/labels{/name}","releases_url":"https://api.github.com/repos/rolepoint/deis-logging/releases{/id}","created_at":"2015-11-11T16:28:08Z","updated_at":"2015-11-11T16:28:34Z","pushed_at":"2015-11-11T16:32:35Z","git_url":"git://github.com/rolepoint/deis-logging.git","ssh_url":"git@github.com:rolepoint/deis-logging.git","clone_url":"https://github.com/rolepoint/deis-logging.git","svn_url":"https://github.com/rolepoint/deis-logging","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rolepoint/deis-logging/pulls/1"},"html":{"href":"https://github.com/rolepoint/deis-logging/pull/1"},"issue":{"href":"https://api.github.com/repos/rolepoint/deis-logging/issues/1"},"comments":{"href":"https://api.github.com/repos/rolepoint/deis-logging/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/rolepoint/deis-logging/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/rolepoint/deis-logging/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rolepoint/deis-logging/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/rolepoint/deis-logging/statuses/d8dfe36476707822547a834f42469850e3cd9a3c"}}}}