{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/beats/pulls/comments/84888488","pull_request_review_id":5636309,"id":84888488,"diff_hunk":"@@ -0,0 +1,85 @@\n+[[load-balancing]]\n+== Load Balancing\n+\n+Filebeat provides configuration options that you can use to fine\n+tune load balancing when sending events to multiple hosts. \n+\n+To enable load balancing, you specify `loadbalance: true` when you configure\n+the output. For example:\n+\n+[source,yaml]\n+-------------------------------------------------------------------------------\n+output.logstash:\n+  hosts: [\"localhost:5044\", \"localhost:5045\"]\n+  loadbalance: true\n+-------------------------------------------------------------------------------\n+\n+The `loadbalance` option is available for Redis, Logstash, and Elasticsearch\n+outputs. The Kafka output handles load balancing internally.\n+\n+Filebeat can send events in a few different modes:\n+\n+* **Send events to one host after another:**\n++\n+By default, when you configure Filebeat to send events to multiple hosts\n+(`loadbalance: true`), Filebeat will send the events to one host after\n+another. This mode requires the least memory and CPU usage.","path":"filebeat/docs/load-balancing.asciidoc","position":26,"original_position":26,"commit_id":"80a77905c8b657d05ec4dea4b511af024501788c","original_commit_id":"80a77905c8b657d05ec4dea4b511af024501788c","user":{"login":"urso","id":75886,"avatar_url":"https://avatars.githubusercontent.com/u/75886?v=3","gravatar_id":"","url":"https://api.github.com/users/urso","html_url":"https://github.com/urso","followers_url":"https://api.github.com/users/urso/followers","following_url":"https://api.github.com/users/urso/following{/other_user}","gists_url":"https://api.github.com/users/urso/gists{/gist_id}","starred_url":"https://api.github.com/users/urso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urso/subscriptions","organizations_url":"https://api.github.com/users/urso/orgs","repos_url":"https://api.github.com/users/urso/repos","events_url":"https://api.github.com/users/urso/events{/privacy}","received_events_url":"https://api.github.com/users/urso/received_events","type":"User","site_admin":false},"body":"Maybe add a note about this not really being load balancing?","created_at":"2016-10-25T12:17:25Z","updated_at":"2016-10-25T12:18:37Z","html_url":"https://github.com/elastic/beats/pull/2780#discussion_r84888488","pull_request_url":"https://api.github.com/repos/elastic/beats/pulls/2780","_links":{"self":{"href":"https://api.github.com/repos/elastic/beats/pulls/comments/84888488"},"html":{"href":"https://github.com/elastic/beats/pull/2780#discussion_r84888488"},"pull_request":{"href":"https://api.github.com/repos/elastic/beats/pulls/2780"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/beats/pulls/2780","id":89304297,"html_url":"https://github.com/elastic/beats/pull/2780","diff_url":"https://github.com/elastic/beats/pull/2780.diff","patch_url":"https://github.com/elastic/beats/pull/2780.patch","issue_url":"https://api.github.com/repos/elastic/beats/issues/2780","number":2780,"state":"open","locked":false,"title":"Document load balancing modes in filebeat","user":{"login":"dedemorton","id":14206422,"avatar_url":"https://avatars.githubusercontent.com/u/14206422?v=3","gravatar_id":"","url":"https://api.github.com/users/dedemorton","html_url":"https://github.com/dedemorton","followers_url":"https://api.github.com/users/dedemorton/followers","following_url":"https://api.github.com/users/dedemorton/following{/other_user}","gists_url":"https://api.github.com/users/dedemorton/gists{/gist_id}","starred_url":"https://api.github.com/users/dedemorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dedemorton/subscriptions","organizations_url":"https://api.github.com/users/dedemorton/orgs","repos_url":"https://api.github.com/users/dedemorton/repos","events_url":"https://api.github.com/users/dedemorton/events{/privacy}","received_events_url":"https://api.github.com/users/dedemorton/received_events","type":"User","site_admin":false},"body":"Added to resolve #1852 ","created_at":"2016-10-14T00:04:00Z","updated_at":"2016-10-25T12:18:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad3928c23d5ec3e8e5b22a2ae9076be8cc48121f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/beats/pulls/2780/commits","review_comments_url":"https://api.github.com/repos/elastic/beats/pulls/2780/comments","review_comment_url":"https://api.github.com/repos/elastic/beats/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/beats/issues/2780/comments","statuses_url":"https://api.github.com/repos/elastic/beats/statuses/80a77905c8b657d05ec4dea4b511af024501788c","head":{"label":"dedemorton:config_load_balancing","ref":"config_load_balancing","sha":"80a77905c8b657d05ec4dea4b511af024501788c","user":{"login":"dedemorton","id":14206422,"avatar_url":"https://avatars.githubusercontent.com/u/14206422?v=3","gravatar_id":"","url":"https://api.github.com/users/dedemorton","html_url":"https://github.com/dedemorton","followers_url":"https://api.github.com/users/dedemorton/followers","following_url":"https://api.github.com/users/dedemorton/following{/other_user}","gists_url":"https://api.github.com/users/dedemorton/gists{/gist_id}","starred_url":"https://api.github.com/users/dedemorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dedemorton/subscriptions","organizations_url":"https://api.github.com/users/dedemorton/orgs","repos_url":"https://api.github.com/users/dedemorton/repos","events_url":"https://api.github.com/users/dedemorton/events{/privacy}","received_events_url":"https://api.github.com/users/dedemorton/received_events","type":"User","site_admin":false},"repo":{"id":47282528,"name":"beats","full_name":"dedemorton/beats","owner":{"login":"dedemorton","id":14206422,"avatar_url":"https://avatars.githubusercontent.com/u/14206422?v=3","gravatar_id":"","url":"https://api.github.com/users/dedemorton","html_url":"https://github.com/dedemorton","followers_url":"https://api.github.com/users/dedemorton/followers","following_url":"https://api.github.com/users/dedemorton/following{/other_user}","gists_url":"https://api.github.com/users/dedemorton/gists{/gist_id}","starred_url":"https://api.github.com/users/dedemorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dedemorton/subscriptions","organizations_url":"https://api.github.com/users/dedemorton/orgs","repos_url":"https://api.github.com/users/dedemorton/repos","events_url":"https://api.github.com/users/dedemorton/events{/privacy}","received_events_url":"https://api.github.com/users/dedemorton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dedemorton/beats","description":"Beats - Lightweight shippers for Elasticsearch & Logstash","fork":true,"url":"https://api.github.com/repos/dedemorton/beats","forks_url":"https://api.github.com/repos/dedemorton/beats/forks","keys_url":"https://api.github.com/repos/dedemorton/beats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dedemorton/beats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dedemorton/beats/teams","hooks_url":"https://api.github.com/repos/dedemorton/beats/hooks","issue_events_url":"https://api.github.com/repos/dedemorton/beats/issues/events{/number}","events_url":"https://api.github.com/repos/dedemorton/beats/events","assignees_url":"https://api.github.com/repos/dedemorton/beats/assignees{/user}","branches_url":"https://api.github.com/repos/dedemorton/beats/branches{/branch}","tags_url":"https://api.github.com/repos/dedemorton/beats/tags","blobs_url":"https://api.github.com/repos/dedemorton/beats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dedemorton/beats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dedemorton/beats/git/refs{/sha}","trees_url":"https://api.github.com/repos/dedemorton/beats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dedemorton/beats/statuses/{sha}","languages_url":"https://api.github.com/repos/dedemorton/beats/languages","stargazers_url":"https://api.github.com/repos/dedemorton/beats/stargazers","contributors_url":"https://api.github.com/repos/dedemorton/beats/contributors","subscribers_url":"https://api.github.com/repos/dedemorton/beats/subscribers","subscription_url":"https://api.github.com/repos/dedemorton/beats/subscription","commits_url":"https://api.github.com/repos/dedemorton/beats/commits{/sha}","git_commits_url":"https://api.github.com/repos/dedemorton/beats/git/commits{/sha}","comments_url":"https://api.github.com/repos/dedemorton/beats/comments{/number}","issue_comment_url":"https://api.github.com/repos/dedemorton/beats/issues/comments{/number}","contents_url":"https://api.github.com/repos/dedemorton/beats/contents/{+path}","compare_url":"https://api.github.com/repos/dedemorton/beats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dedemorton/beats/merges","archive_url":"https://api.github.com/repos/dedemorton/beats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dedemorton/beats/downloads","issues_url":"https://api.github.com/repos/dedemorton/beats/issues{/number}","pulls_url":"https://api.github.com/repos/dedemorton/beats/pulls{/number}","milestones_url":"https://api.github.com/repos/dedemorton/beats/milestones{/number}","notifications_url":"https://api.github.com/repos/dedemorton/beats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dedemorton/beats/labels{/name}","releases_url":"https://api.github.com/repos/dedemorton/beats/releases{/id}","deployments_url":"https://api.github.com/repos/dedemorton/beats/deployments","created_at":"2015-12-02T19:12:11Z","updated_at":"2015-12-02T19:12:14Z","pushed_at":"2016-10-25T03:36:42Z","git_url":"git://github.com/dedemorton/beats.git","ssh_url":"git@github.com:dedemorton/beats.git","clone_url":"https://github.com/dedemorton/beats.git","svn_url":"https://github.com/dedemorton/beats","homepage":"https://www.elastic.co/products/beats","size":43059,"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":"elastic:master","ref":"master","sha":"b85820f674614a0cdd56575516db3af6386c71e0","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":16554739,"name":"beats","full_name":"elastic/beats","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/beats","description":":tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash ","fork":false,"url":"https://api.github.com/repos/elastic/beats","forks_url":"https://api.github.com/repos/elastic/beats/forks","keys_url":"https://api.github.com/repos/elastic/beats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/beats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/beats/teams","hooks_url":"https://api.github.com/repos/elastic/beats/hooks","issue_events_url":"https://api.github.com/repos/elastic/beats/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/beats/events","assignees_url":"https://api.github.com/repos/elastic/beats/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/beats/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/beats/tags","blobs_url":"https://api.github.com/repos/elastic/beats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/beats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/beats/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/beats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/beats/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/beats/languages","stargazers_url":"https://api.github.com/repos/elastic/beats/stargazers","contributors_url":"https://api.github.com/repos/elastic/beats/contributors","subscribers_url":"https://api.github.com/repos/elastic/beats/subscribers","subscription_url":"https://api.github.com/repos/elastic/beats/subscription","commits_url":"https://api.github.com/repos/elastic/beats/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/beats/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/beats/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/beats/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/beats/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/beats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/beats/merges","archive_url":"https://api.github.com/repos/elastic/beats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/beats/downloads","issues_url":"https://api.github.com/repos/elastic/beats/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/beats/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/beats/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/beats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/beats/labels{/name}","releases_url":"https://api.github.com/repos/elastic/beats/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/beats/deployments","created_at":"2014-02-05T19:01:02Z","updated_at":"2016-10-25T02:50:13Z","pushed_at":"2016-10-25T09:01:21Z","git_url":"git://github.com/elastic/beats.git","ssh_url":"git@github.com:elastic/beats.git","clone_url":"https://github.com/elastic/beats.git","svn_url":"https://github.com/elastic/beats","homepage":"https://www.elastic.co/products/beats","size":49779,"stargazers_count":3286,"watchers_count":3286,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":606,"mirror_url":null,"open_issues_count":271,"forks":606,"open_issues":271,"watchers":3286,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/beats/pulls/2780"},"html":{"href":"https://github.com/elastic/beats/pull/2780"},"issue":{"href":"https://api.github.com/repos/elastic/beats/issues/2780"},"comments":{"href":"https://api.github.com/repos/elastic/beats/issues/2780/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/beats/pulls/2780/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/beats/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/beats/pulls/2780/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/beats/statuses/80a77905c8b657d05ec4dea4b511af024501788c"}}}}
{"actor":{"display_login":"urso"}}