{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/logstash/issues/4706","repository_url":"https://api.github.com/repos/elastic/logstash","labels_url":"https://api.github.com/repos/elastic/logstash/issues/4706/labels{/name}","comments_url":"https://api.github.com/repos/elastic/logstash/issues/4706/comments","events_url":"https://api.github.com/repos/elastic/logstash/issues/4706/events","html_url":"https://github.com/elastic/logstash/issues/4706","id":134873050,"number":4706,"title":"Default number of pipeline workers ","user":{"login":"wkruse","id":3473199,"avatar_url":"https://avatars.githubusercontent.com/u/3473199?v=3","gravatar_id":"","url":"https://api.github.com/users/wkruse","html_url":"https://github.com/wkruse","followers_url":"https://api.github.com/users/wkruse/followers","following_url":"https://api.github.com/users/wkruse/following{/other_user}","gists_url":"https://api.github.com/users/wkruse/gists{/gist_id}","starred_url":"https://api.github.com/users/wkruse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkruse/subscriptions","organizations_url":"https://api.github.com/users/wkruse/orgs","repos_url":"https://api.github.com/users/wkruse/repos","events_url":"https://api.github.com/users/wkruse/events{/privacy}","received_events_url":"https://api.github.com/users/wkruse/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/logstash/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/elastic/logstash/labels/docs","name":"docs","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-19T14:04:12Z","updated_at":"2016-02-20T15:58:13Z","closed_at":null,"body":"Either the blog or the documentation is wrong about the default number of pipeline workers.\r\n\r\n> In Logstash 2.2 this number is by default the number of pipeline workers, which now default to be equal to the number of cores on the system.\r\n\r\nhttps://www.elastic.co/blog/logstash-2-2-0-and-2-1-2-released\r\n\r\n> Sets the number of pipeline workers (threads) to run for filter and output\r\n processing (default: half the number of cores).\r\n\r\nhttps://www.elastic.co/guide/en/logstash/current/command-line-flags.html\r\n\r\nIs it the number of cores or half?"},"comment":{"url":"https://api.github.com/repos/elastic/logstash/issues/comments/186635440","html_url":"https://github.com/elastic/logstash/issues/4706#issuecomment-186635440","issue_url":"https://api.github.com/repos/elastic/logstash/issues/4706","id":186635440,"user":{"login":"purbon","id":68540,"avatar_url":"https://avatars.githubusercontent.com/u/68540?v=3","gravatar_id":"","url":"https://api.github.com/users/purbon","html_url":"https://github.com/purbon","followers_url":"https://api.github.com/users/purbon/followers","following_url":"https://api.github.com/users/purbon/following{/other_user}","gists_url":"https://api.github.com/users/purbon/gists{/gist_id}","starred_url":"https://api.github.com/users/purbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purbon/subscriptions","organizations_url":"https://api.github.com/users/purbon/orgs","repos_url":"https://api.github.com/users/purbon/repos","events_url":"https://api.github.com/users/purbon/events{/privacy}","received_events_url":"https://api.github.com/users/purbon/received_events","type":"User","site_admin":false},"created_at":"2016-02-20T15:58:13Z","updated_at":"2016-02-20T15:58:13Z","body":"@wkruse the number of pipeline workers are https://github.com/elastic/logstash/blob/master/logstash-core/lib/logstash/pipeline.rb#L41, that is equal to total number of cpu cores. I confirm this problem, we'll need to update the documentation with last changes, please refer to `bin/logstash --help` for detailed info on the command line.\r\n\r\nThanks for reporting this error,\r\n"}}