{"action":"closed","number":1259,"pull_request":{"url":"https://api.github.com/repos/bosun-monitor/bosun/pulls/1259","id":42748842,"html_url":"https://github.com/bosun-monitor/bosun/pull/1259","diff_url":"https://github.com/bosun-monitor/bosun/pull/1259.diff","patch_url":"https://github.com/bosun-monitor/bosun/pull/1259.patch","issue_url":"https://api.github.com/repos/bosun-monitor/bosun/issues/1259","number":1259,"state":"closed","locked":false,"title":"Update logstashElasticHosts format","user":{"login":"briantist","id":1260690,"avatar_url":"https://avatars.githubusercontent.com/u/1260690?v=3","gravatar_id":"","url":"https://api.github.com/users/briantist","html_url":"https://github.com/briantist","followers_url":"https://api.github.com/users/briantist/followers","following_url":"https://api.github.com/users/briantist/following{/other_user}","gists_url":"https://api.github.com/users/briantist/gists{/gist_id}","starred_url":"https://api.github.com/users/briantist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briantist/subscriptions","organizations_url":"https://api.github.com/users/briantist/orgs","repos_url":"https://api.github.com/users/briantist/repos","events_url":"https://api.github.com/users/briantist/events{/privacy}","received_events_url":"https://api.github.com/users/briantist/received_events","type":"User","site_admin":false},"body":"The original says it uses the same format as `tsdbHost`, but it doesn't work if you just use `host:port`. Looking at the code, bosun passes the value(s) here directly to the elastic library which is expecting a URL. Once I used `http://host:port` I was able to query. The error message given before came directly from the elastic library with a generic error message about there being no hosts available so there was no indication that the configuration format was incorrect.","created_at":"2015-08-18T21:06:55Z","updated_at":"2015-08-18T21:32:59Z","closed_at":"2015-08-18T21:32:59Z","merged_at":"2015-08-18T21:32:59Z","merge_commit_sha":"7cc58bc82686f435b971925550309441aff3b9fc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bosun-monitor/bosun/pulls/1259/commits","review_comments_url":"https://api.github.com/repos/bosun-monitor/bosun/pulls/1259/comments","review_comment_url":"https://api.github.com/repos/bosun-monitor/bosun/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bosun-monitor/bosun/issues/1259/comments","statuses_url":"https://api.github.com/repos/bosun-monitor/bosun/statuses/5ec5f615c74ae7f266743c23008dd187a0b1568e","head":{"label":"briantist:patch-1","ref":"patch-1","sha":"5ec5f615c74ae7f266743c23008dd187a0b1568e","user":{"login":"briantist","id":1260690,"avatar_url":"https://avatars.githubusercontent.com/u/1260690?v=3","gravatar_id":"","url":"https://api.github.com/users/briantist","html_url":"https://github.com/briantist","followers_url":"https://api.github.com/users/briantist/followers","following_url":"https://api.github.com/users/briantist/following{/other_user}","gists_url":"https://api.github.com/users/briantist/gists{/gist_id}","starred_url":"https://api.github.com/users/briantist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briantist/subscriptions","organizations_url":"https://api.github.com/users/briantist/orgs","repos_url":"https://api.github.com/users/briantist/repos","events_url":"https://api.github.com/users/briantist/events{/privacy}","received_events_url":"https://api.github.com/users/briantist/received_events","type":"User","site_admin":false},"repo":{"id":40997376,"name":"bosun","full_name":"briantist/bosun","owner":{"login":"briantist","id":1260690,"avatar_url":"https://avatars.githubusercontent.com/u/1260690?v=3","gravatar_id":"","url":"https://api.github.com/users/briantist","html_url":"https://github.com/briantist","followers_url":"https://api.github.com/users/briantist/followers","following_url":"https://api.github.com/users/briantist/following{/other_user}","gists_url":"https://api.github.com/users/briantist/gists{/gist_id}","starred_url":"https://api.github.com/users/briantist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briantist/subscriptions","organizations_url":"https://api.github.com/users/briantist/orgs","repos_url":"https://api.github.com/users/briantist/repos","events_url":"https://api.github.com/users/briantist/events{/privacy}","received_events_url":"https://api.github.com/users/briantist/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/briantist/bosun","description":"Time Series Alerting Framework","fork":true,"url":"https://api.github.com/repos/briantist/bosun","forks_url":"https://api.github.com/repos/briantist/bosun/forks","keys_url":"https://api.github.com/repos/briantist/bosun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/briantist/bosun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/briantist/bosun/teams","hooks_url":"https://api.github.com/repos/briantist/bosun/hooks","issue_events_url":"https://api.github.com/repos/briantist/bosun/issues/events{/number}","events_url":"https://api.github.com/repos/briantist/bosun/events","assignees_url":"https://api.github.com/repos/briantist/bosun/assignees{/user}","branches_url":"https://api.github.com/repos/briantist/bosun/branches{/branch}","tags_url":"https://api.github.com/repos/briantist/bosun/tags","blobs_url":"https://api.github.com/repos/briantist/bosun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/briantist/bosun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/briantist/bosun/git/refs{/sha}","trees_url":"https://api.github.com/repos/briantist/bosun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/briantist/bosun/statuses/{sha}","languages_url":"https://api.github.com/repos/briantist/bosun/languages","stargazers_url":"https://api.github.com/repos/briantist/bosun/stargazers","contributors_url":"https://api.github.com/repos/briantist/bosun/contributors","subscribers_url":"https://api.github.com/repos/briantist/bosun/subscribers","subscription_url":"https://api.github.com/repos/briantist/bosun/subscription","commits_url":"https://api.github.com/repos/briantist/bosun/commits{/sha}","git_commits_url":"https://api.github.com/repos/briantist/bosun/git/commits{/sha}","comments_url":"https://api.github.com/repos/briantist/bosun/comments{/number}","issue_comment_url":"https://api.github.com/repos/briantist/bosun/issues/comments{/number}","contents_url":"https://api.github.com/repos/briantist/bosun/contents/{+path}","compare_url":"https://api.github.com/repos/briantist/bosun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/briantist/bosun/merges","archive_url":"https://api.github.com/repos/briantist/bosun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/briantist/bosun/downloads","issues_url":"https://api.github.com/repos/briantist/bosun/issues{/number}","pulls_url":"https://api.github.com/repos/briantist/bosun/pulls{/number}","milestones_url":"https://api.github.com/repos/briantist/bosun/milestones{/number}","notifications_url":"https://api.github.com/repos/briantist/bosun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/briantist/bosun/labels{/name}","releases_url":"https://api.github.com/repos/briantist/bosun/releases{/id}","created_at":"2015-08-18T21:01:13Z","updated_at":"2015-08-18T21:01:14Z","pushed_at":"2015-08-18T21:06:10Z","git_url":"git://github.com/briantist/bosun.git","ssh_url":"git@github.com:briantist/bosun.git","clone_url":"https://github.com/briantist/bosun.git","svn_url":"https://github.com/briantist/bosun","homepage":"http://bosun.org","size":41842,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bosun-monitor:master","ref":"master","sha":"b56a0117917749613486f9e0de9d982bff5251ca","user":{"login":"bosun-monitor","id":9555242,"avatar_url":"https://avatars.githubusercontent.com/u/9555242?v=3","gravatar_id":"","url":"https://api.github.com/users/bosun-monitor","html_url":"https://github.com/bosun-monitor","followers_url":"https://api.github.com/users/bosun-monitor/followers","following_url":"https://api.github.com/users/bosun-monitor/following{/other_user}","gists_url":"https://api.github.com/users/bosun-monitor/gists{/gist_id}","starred_url":"https://api.github.com/users/bosun-monitor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bosun-monitor/subscriptions","organizations_url":"https://api.github.com/users/bosun-monitor/orgs","repos_url":"https://api.github.com/users/bosun-monitor/repos","events_url":"https://api.github.com/users/bosun-monitor/events{/privacy}","received_events_url":"https://api.github.com/users/bosun-monitor/received_events","type":"Organization","site_admin":false},"repo":{"id":14410778,"name":"bosun","full_name":"bosun-monitor/bosun","owner":{"login":"bosun-monitor","id":9555242,"avatar_url":"https://avatars.githubusercontent.com/u/9555242?v=3","gravatar_id":"","url":"https://api.github.com/users/bosun-monitor","html_url":"https://github.com/bosun-monitor","followers_url":"https://api.github.com/users/bosun-monitor/followers","following_url":"https://api.github.com/users/bosun-monitor/following{/other_user}","gists_url":"https://api.github.com/users/bosun-monitor/gists{/gist_id}","starred_url":"https://api.github.com/users/bosun-monitor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bosun-monitor/subscriptions","organizations_url":"https://api.github.com/users/bosun-monitor/orgs","repos_url":"https://api.github.com/users/bosun-monitor/repos","events_url":"https://api.github.com/users/bosun-monitor/events{/privacy}","received_events_url":"https://api.github.com/users/bosun-monitor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bosun-monitor/bosun","description":"Time Series Alerting Framework","fork":false,"url":"https://api.github.com/repos/bosun-monitor/bosun","forks_url":"https://api.github.com/repos/bosun-monitor/bosun/forks","keys_url":"https://api.github.com/repos/bosun-monitor/bosun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bosun-monitor/bosun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bosun-monitor/bosun/teams","hooks_url":"https://api.github.com/repos/bosun-monitor/bosun/hooks","issue_events_url":"https://api.github.com/repos/bosun-monitor/bosun/issues/events{/number}","events_url":"https://api.github.com/repos/bosun-monitor/bosun/events","assignees_url":"https://api.github.com/repos/bosun-monitor/bosun/assignees{/user}","branches_url":"https://api.github.com/repos/bosun-monitor/bosun/branches{/branch}","tags_url":"https://api.github.com/repos/bosun-monitor/bosun/tags","blobs_url":"https://api.github.com/repos/bosun-monitor/bosun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bosun-monitor/bosun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bosun-monitor/bosun/git/refs{/sha}","trees_url":"https://api.github.com/repos/bosun-monitor/bosun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bosun-monitor/bosun/statuses/{sha}","languages_url":"https://api.github.com/repos/bosun-monitor/bosun/languages","stargazers_url":"https://api.github.com/repos/bosun-monitor/bosun/stargazers","contributors_url":"https://api.github.com/repos/bosun-monitor/bosun/contributors","subscribers_url":"https://api.github.com/repos/bosun-monitor/bosun/subscribers","subscription_url":"https://api.github.com/repos/bosun-monitor/bosun/subscription","commits_url":"https://api.github.com/repos/bosun-monitor/bosun/commits{/sha}","git_commits_url":"https://api.github.com/repos/bosun-monitor/bosun/git/commits{/sha}","comments_url":"https://api.github.com/repos/bosun-monitor/bosun/comments{/number}","issue_comment_url":"https://api.github.com/repos/bosun-monitor/bosun/issues/comments{/number}","contents_url":"https://api.github.com/repos/bosun-monitor/bosun/contents/{+path}","compare_url":"https://api.github.com/repos/bosun-monitor/bosun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bosun-monitor/bosun/merges","archive_url":"https://api.github.com/repos/bosun-monitor/bosun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bosun-monitor/bosun/downloads","issues_url":"https://api.github.com/repos/bosun-monitor/bosun/issues{/number}","pulls_url":"https://api.github.com/repos/bosun-monitor/bosun/pulls{/number}","milestones_url":"https://api.github.com/repos/bosun-monitor/bosun/milestones{/number}","notifications_url":"https://api.github.com/repos/bosun-monitor/bosun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bosun-monitor/bosun/labels{/name}","releases_url":"https://api.github.com/repos/bosun-monitor/bosun/releases{/id}","created_at":"2013-11-15T00:12:27Z","updated_at":"2015-08-17T23:03:40Z","pushed_at":"2015-08-18T21:32:59Z","git_url":"git://github.com/bosun-monitor/bosun.git","ssh_url":"git@github.com:bosun-monitor/bosun.git","clone_url":"https://github.com/bosun-monitor/bosun.git","svn_url":"https://github.com/bosun-monitor/bosun","homepage":"http://bosun.org","size":41842,"stargazers_count":1326,"watchers_count":1326,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":137,"mirror_url":null,"open_issues_count":182,"forks":137,"open_issues":182,"watchers":1326,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bosun-monitor/bosun/pulls/1259"},"html":{"href":"https://github.com/bosun-monitor/bosun/pull/1259"},"issue":{"href":"https://api.github.com/repos/bosun-monitor/bosun/issues/1259"},"comments":{"href":"https://api.github.com/repos/bosun-monitor/bosun/issues/1259/comments"},"review_comments":{"href":"https://api.github.com/repos/bosun-monitor/bosun/pulls/1259/comments"},"review_comment":{"href":"https://api.github.com/repos/bosun-monitor/bosun/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bosun-monitor/bosun/pulls/1259/commits"},"statuses":{"href":"https://api.github.com/repos/bosun-monitor/bosun/statuses/5ec5f615c74ae7f266743c23008dd187a0b1568e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"captncraig","id":192540,"avatar_url":"https://avatars.githubusercontent.com/u/192540?v=3","gravatar_id":"","url":"https://api.github.com/users/captncraig","html_url":"https://github.com/captncraig","followers_url":"https://api.github.com/users/captncraig/followers","following_url":"https://api.github.com/users/captncraig/following{/other_user}","gists_url":"https://api.github.com/users/captncraig/gists{/gist_id}","starred_url":"https://api.github.com/users/captncraig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/captncraig/subscriptions","organizations_url":"https://api.github.com/users/captncraig/orgs","repos_url":"https://api.github.com/users/captncraig/repos","events_url":"https://api.github.com/users/captncraig/events{/privacy}","received_events_url":"https://api.github.com/users/captncraig/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}