{"action":"opened","number":41,"pull_request":{"url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/pulls/41","id":148588131,"html_url":"https://github.com/internetitem/logback-elasticsearch-appender/pull/41","diff_url":"https://github.com/internetitem/logback-elasticsearch-appender/pull/41.diff","patch_url":"https://github.com/internetitem/logback-elasticsearch-appender/pull/41.patch","issue_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/issues/41","number":41,"state":"open","locked":false,"title":"support multi elastic nodes","user":{"login":"panqiushi","id":2508365,"avatar_url":"https://avatars3.githubusercontent.com/u/2508365?v=4","gravatar_id":"","url":"https://api.github.com/users/panqiushi","html_url":"https://github.com/panqiushi","followers_url":"https://api.github.com/users/panqiushi/followers","following_url":"https://api.github.com/users/panqiushi/following{/other_user}","gists_url":"https://api.github.com/users/panqiushi/gists{/gist_id}","starred_url":"https://api.github.com/users/panqiushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panqiushi/subscriptions","organizations_url":"https://api.github.com/users/panqiushi/orgs","repos_url":"https://api.github.com/users/panqiushi/repos","events_url":"https://api.github.com/users/panqiushi/events{/privacy}","received_events_url":"https://api.github.com/users/panqiushi/received_events","type":"User","site_admin":false},"body":"In my product case, too much log data send to single elasticsearch mast node. this cause heavy load of network traffic. So I change some code to send to multi mast nodes. Split node url by comma in logger.xml like this:\r\n\r\n`<url>http://yourserver_1/_bulk,http://yourserver_2/_bulk,http://yourserver_3:9200/_bulk</url>`","created_at":"2017-10-25T07:20:05Z","updated_at":"2017-10-25T07:20:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/pulls/41/commits","review_comments_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/pulls/41/comments","review_comment_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/pulls/comments{/number}","comments_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/issues/41/comments","statuses_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/statuses/5fd3fe8b9cce39bea3ce702a51602301027a1d4f","head":{"label":"panqiushi:master","ref":"master","sha":"5fd3fe8b9cce39bea3ce702a51602301027a1d4f","user":{"login":"panqiushi","id":2508365,"avatar_url":"https://avatars3.githubusercontent.com/u/2508365?v=4","gravatar_id":"","url":"https://api.github.com/users/panqiushi","html_url":"https://github.com/panqiushi","followers_url":"https://api.github.com/users/panqiushi/followers","following_url":"https://api.github.com/users/panqiushi/following{/other_user}","gists_url":"https://api.github.com/users/panqiushi/gists{/gist_id}","starred_url":"https://api.github.com/users/panqiushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panqiushi/subscriptions","organizations_url":"https://api.github.com/users/panqiushi/orgs","repos_url":"https://api.github.com/users/panqiushi/repos","events_url":"https://api.github.com/users/panqiushi/events{/privacy}","received_events_url":"https://api.github.com/users/panqiushi/received_events","type":"User","site_admin":false},"repo":{"id":108232680,"name":"logback-elasticsearch-appender","full_name":"panqiushi/logback-elasticsearch-appender","owner":{"login":"panqiushi","id":2508365,"avatar_url":"https://avatars3.githubusercontent.com/u/2508365?v=4","gravatar_id":"","url":"https://api.github.com/users/panqiushi","html_url":"https://github.com/panqiushi","followers_url":"https://api.github.com/users/panqiushi/followers","following_url":"https://api.github.com/users/panqiushi/following{/other_user}","gists_url":"https://api.github.com/users/panqiushi/gists{/gist_id}","starred_url":"https://api.github.com/users/panqiushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panqiushi/subscriptions","organizations_url":"https://api.github.com/users/panqiushi/orgs","repos_url":"https://api.github.com/users/panqiushi/repos","events_url":"https://api.github.com/users/panqiushi/events{/privacy}","received_events_url":"https://api.github.com/users/panqiushi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/panqiushi/logback-elasticsearch-appender","description":"Logback Elasticsearch Appender","fork":true,"url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender","forks_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/forks","keys_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/keys{/key_id}","collaborators_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/teams","hooks_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/hooks","issue_events_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/issues/events{/number}","events_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/events","assignees_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/assignees{/user}","branches_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/branches{/branch}","tags_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/tags","blobs_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/git/refs{/sha}","trees_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/git/trees{/sha}","statuses_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/statuses/{sha}","languages_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/languages","stargazers_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/stargazers","contributors_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/contributors","subscribers_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/subscribers","subscription_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/subscription","commits_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/commits{/sha}","git_commits_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/git/commits{/sha}","comments_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/comments{/number}","issue_comment_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/issues/comments{/number}","contents_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/contents/{+path}","compare_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/compare/{base}...{head}","merges_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/merges","archive_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/downloads","issues_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/issues{/number}","pulls_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/pulls{/number}","milestones_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/milestones{/number}","notifications_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/labels{/name}","releases_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/releases{/id}","deployments_url":"https://api.github.com/repos/panqiushi/logback-elasticsearch-appender/deployments","created_at":"2017-10-25T07:03:22Z","updated_at":"2017-10-25T07:03:24Z","pushed_at":"2017-10-25T07:12:48Z","git_url":"git://github.com/panqiushi/logback-elasticsearch-appender.git","ssh_url":"git@github.com:panqiushi/logback-elasticsearch-appender.git","clone_url":"https://github.com/panqiushi/logback-elasticsearch-appender.git","svn_url":"https://github.com/panqiushi/logback-elasticsearch-appender","homepage":null,"size":104,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"internetitem:master","ref":"master","sha":"72ab8709452733d782039e9f8ff54a8c2310c33b","user":{"login":"internetitem","id":4111045,"avatar_url":"https://avatars0.githubusercontent.com/u/4111045?v=4","gravatar_id":"","url":"https://api.github.com/users/internetitem","html_url":"https://github.com/internetitem","followers_url":"https://api.github.com/users/internetitem/followers","following_url":"https://api.github.com/users/internetitem/following{/other_user}","gists_url":"https://api.github.com/users/internetitem/gists{/gist_id}","starred_url":"https://api.github.com/users/internetitem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/internetitem/subscriptions","organizations_url":"https://api.github.com/users/internetitem/orgs","repos_url":"https://api.github.com/users/internetitem/repos","events_url":"https://api.github.com/users/internetitem/events{/privacy}","received_events_url":"https://api.github.com/users/internetitem/received_events","type":"Organization","site_admin":false},"repo":{"id":33607449,"name":"logback-elasticsearch-appender","full_name":"internetitem/logback-elasticsearch-appender","owner":{"login":"internetitem","id":4111045,"avatar_url":"https://avatars0.githubusercontent.com/u/4111045?v=4","gravatar_id":"","url":"https://api.github.com/users/internetitem","html_url":"https://github.com/internetitem","followers_url":"https://api.github.com/users/internetitem/followers","following_url":"https://api.github.com/users/internetitem/following{/other_user}","gists_url":"https://api.github.com/users/internetitem/gists{/gist_id}","starred_url":"https://api.github.com/users/internetitem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/internetitem/subscriptions","organizations_url":"https://api.github.com/users/internetitem/orgs","repos_url":"https://api.github.com/users/internetitem/repos","events_url":"https://api.github.com/users/internetitem/events{/privacy}","received_events_url":"https://api.github.com/users/internetitem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/internetitem/logback-elasticsearch-appender","description":"Logback Elasticsearch Appender","fork":false,"url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender","forks_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/forks","keys_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/keys{/key_id}","collaborators_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/teams","hooks_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/hooks","issue_events_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/issues/events{/number}","events_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/events","assignees_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/assignees{/user}","branches_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/branches{/branch}","tags_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/tags","blobs_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/git/refs{/sha}","trees_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/git/trees{/sha}","statuses_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/statuses/{sha}","languages_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/languages","stargazers_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/stargazers","contributors_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/contributors","subscribers_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/subscribers","subscription_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/subscription","commits_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/commits{/sha}","git_commits_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/git/commits{/sha}","comments_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/comments{/number}","issue_comment_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/issues/comments{/number}","contents_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/contents/{+path}","compare_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/compare/{base}...{head}","merges_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/merges","archive_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/downloads","issues_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/issues{/number}","pulls_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/pulls{/number}","milestones_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/milestones{/number}","notifications_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/labels{/name}","releases_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/releases{/id}","deployments_url":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/deployments","created_at":"2015-04-08T13:07:13Z","updated_at":"2017-10-19T08:40:20Z","pushed_at":"2017-10-25T01:30:48Z","git_url":"git://github.com/internetitem/logback-elasticsearch-appender.git","ssh_url":"git@github.com:internetitem/logback-elasticsearch-appender.git","clone_url":"https://github.com/internetitem/logback-elasticsearch-appender.git","svn_url":"https://github.com/internetitem/logback-elasticsearch-appender","homepage":null,"size":104,"stargazers_count":69,"watchers_count":69,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"archived":false,"open_issues_count":13,"forks":37,"open_issues":13,"watchers":69,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/pulls/41"},"html":{"href":"https://github.com/internetitem/logback-elasticsearch-appender/pull/41"},"issue":{"href":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/issues/41"},"comments":{"href":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/internetitem/logback-elasticsearch-appender/statuses/5fd3fe8b9cce39bea3ce702a51602301027a1d4f"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":19,"deletions":8,"changed_files":4}}
{"actor":{"display_login":"panqiushi"}}