{"action":"opened","number":1053,"pull_request":{"url":"https://api.github.com/repos/balabit/syslog-ng/pulls/1053","id":70226108,"html_url":"https://github.com/balabit/syslog-ng/pull/1053","diff_url":"https://github.com/balabit/syslog-ng/pull/1053.diff","patch_url":"https://github.com/balabit/syslog-ng/pull/1053.patch","issue_url":"https://api.github.com/repos/balabit/syslog-ng/issues/1053","number":1053,"state":"open","locked":false,"title":"F/elasticsearch v2 mode http","user":{"login":"lbudai","id":5908786,"avatar_url":"https://avatars.githubusercontent.com/u/5908786?v=3","gravatar_id":"","url":"https://api.github.com/users/lbudai","html_url":"https://github.com/lbudai","followers_url":"https://api.github.com/users/lbudai/followers","following_url":"https://api.github.com/users/lbudai/following{/other_user}","gists_url":"https://api.github.com/users/lbudai/gists{/gist_id}","starred_url":"https://api.github.com/users/lbudai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbudai/subscriptions","organizations_url":"https://api.github.com/users/lbudai/orgs","repos_url":"https://api.github.com/users/lbudai/repos","events_url":"https://api.github.com/users/lbudai/events{/privacy}","received_events_url":"https://api.github.com/users/lbudai/received_events","type":"User","site_admin":false},"body":"    ElasticSearchDestination-v2: HTTP mode added\r\n\r\n    HTTP mode is implemented with the help of Jest\r\n    , a Java HTTP Rest client for ElasticSearch.\r\n    https://github.com/searchbox-io/Jest\r\n\r\n    The implementation is partially based on\r\n    https://github.com/balabit/syslog-ng/pull/1025 created by Viktor Tusa.\r\n\r\n    Difference is that this implementation is not a separate driver\r\n    but a mode-extension to the existing destination.\r\n\r\nNote, that this client mode is able to work together even with ElasticSearch 5 (at least on my test environment).\r\n\r\n  *  example config:\r\n   ```\r\n    @version: 3.8\r\n    @include \"scl.conf\"\r\n\r\n    source s_network {\r\n        network(port(5555));\r\n    };\r\n\r\n    destination d_elastic {\r\n        elasticsearch2(\r\n            client_mode(\"http\")\r\n            cluster(\"es-syslog-ng\")\r\n            index(\"x201\")\r\n            cluster_url(\"http://192.168.33.10:9200\")\r\n            type(\"slng_test_type\")\r\n            flush_limit(\"0\")\r\n        );\r\n    };\r\n\r\n    log {\r\n       source(s_network);\r\n       destination(d_elastic);\r\n       flags(flow-control);\r\n    };\r\n  ```","created_at":"2016-05-16T16:56:36Z","updated_at":"2016-05-16T16:56:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/balabit/syslog-ng/pulls/1053/commits","review_comments_url":"https://api.github.com/repos/balabit/syslog-ng/pulls/1053/comments","review_comment_url":"https://api.github.com/repos/balabit/syslog-ng/pulls/comments{/number}","comments_url":"https://api.github.com/repos/balabit/syslog-ng/issues/1053/comments","statuses_url":"https://api.github.com/repos/balabit/syslog-ng/statuses/ddea3918a2ce74e7b600927b61796f2e4b28b3f8","head":{"label":"lbudai:f/elasticsearch-v2-mode-http","ref":"f/elasticsearch-v2-mode-http","sha":"ddea3918a2ce74e7b600927b61796f2e4b28b3f8","user":{"login":"lbudai","id":5908786,"avatar_url":"https://avatars.githubusercontent.com/u/5908786?v=3","gravatar_id":"","url":"https://api.github.com/users/lbudai","html_url":"https://github.com/lbudai","followers_url":"https://api.github.com/users/lbudai/followers","following_url":"https://api.github.com/users/lbudai/following{/other_user}","gists_url":"https://api.github.com/users/lbudai/gists{/gist_id}","starred_url":"https://api.github.com/users/lbudai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbudai/subscriptions","organizations_url":"https://api.github.com/users/lbudai/orgs","repos_url":"https://api.github.com/users/lbudai/repos","events_url":"https://api.github.com/users/lbudai/events{/privacy}","received_events_url":"https://api.github.com/users/lbudai/received_events","type":"User","site_admin":false},"repo":{"id":15795977,"name":"syslog-ng","full_name":"lbudai/syslog-ng","owner":{"login":"lbudai","id":5908786,"avatar_url":"https://avatars.githubusercontent.com/u/5908786?v=3","gravatar_id":"","url":"https://api.github.com/users/lbudai","html_url":"https://github.com/lbudai","followers_url":"https://api.github.com/users/lbudai/followers","following_url":"https://api.github.com/users/lbudai/following{/other_user}","gists_url":"https://api.github.com/users/lbudai/gists{/gist_id}","starred_url":"https://api.github.com/users/lbudai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbudai/subscriptions","organizations_url":"https://api.github.com/users/lbudai/orgs","repos_url":"https://api.github.com/users/lbudai/repos","events_url":"https://api.github.com/users/lbudai/events{/privacy}","received_events_url":"https://api.github.com/users/lbudai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lbudai/syslog-ng","description":"syslog-ng is an enhanced log daemon, supporting a wide range of input and output methods: syslog, unstructured text, queueing, SQL & NoSQL.","fork":true,"url":"https://api.github.com/repos/lbudai/syslog-ng","forks_url":"https://api.github.com/repos/lbudai/syslog-ng/forks","keys_url":"https://api.github.com/repos/lbudai/syslog-ng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lbudai/syslog-ng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lbudai/syslog-ng/teams","hooks_url":"https://api.github.com/repos/lbudai/syslog-ng/hooks","issue_events_url":"https://api.github.com/repos/lbudai/syslog-ng/issues/events{/number}","events_url":"https://api.github.com/repos/lbudai/syslog-ng/events","assignees_url":"https://api.github.com/repos/lbudai/syslog-ng/assignees{/user}","branches_url":"https://api.github.com/repos/lbudai/syslog-ng/branches{/branch}","tags_url":"https://api.github.com/repos/lbudai/syslog-ng/tags","blobs_url":"https://api.github.com/repos/lbudai/syslog-ng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lbudai/syslog-ng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lbudai/syslog-ng/git/refs{/sha}","trees_url":"https://api.github.com/repos/lbudai/syslog-ng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lbudai/syslog-ng/statuses/{sha}","languages_url":"https://api.github.com/repos/lbudai/syslog-ng/languages","stargazers_url":"https://api.github.com/repos/lbudai/syslog-ng/stargazers","contributors_url":"https://api.github.com/repos/lbudai/syslog-ng/contributors","subscribers_url":"https://api.github.com/repos/lbudai/syslog-ng/subscribers","subscription_url":"https://api.github.com/repos/lbudai/syslog-ng/subscription","commits_url":"https://api.github.com/repos/lbudai/syslog-ng/commits{/sha}","git_commits_url":"https://api.github.com/repos/lbudai/syslog-ng/git/commits{/sha}","comments_url":"https://api.github.com/repos/lbudai/syslog-ng/comments{/number}","issue_comment_url":"https://api.github.com/repos/lbudai/syslog-ng/issues/comments{/number}","contents_url":"https://api.github.com/repos/lbudai/syslog-ng/contents/{+path}","compare_url":"https://api.github.com/repos/lbudai/syslog-ng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lbudai/syslog-ng/merges","archive_url":"https://api.github.com/repos/lbudai/syslog-ng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lbudai/syslog-ng/downloads","issues_url":"https://api.github.com/repos/lbudai/syslog-ng/issues{/number}","pulls_url":"https://api.github.com/repos/lbudai/syslog-ng/pulls{/number}","milestones_url":"https://api.github.com/repos/lbudai/syslog-ng/milestones{/number}","notifications_url":"https://api.github.com/repos/lbudai/syslog-ng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lbudai/syslog-ng/labels{/name}","releases_url":"https://api.github.com/repos/lbudai/syslog-ng/releases{/id}","deployments_url":"https://api.github.com/repos/lbudai/syslog-ng/deployments","created_at":"2014-01-10T11:07:06Z","updated_at":"2015-04-30T14:06:31Z","pushed_at":"2016-05-16T16:47:46Z","git_url":"git://github.com/lbudai/syslog-ng.git","ssh_url":"git@github.com:lbudai/syslog-ng.git","clone_url":"https://github.com/lbudai/syslog-ng.git","svn_url":"https://github.com/lbudai/syslog-ng","homepage":"https://www.balabit.com/network-security/syslog-ng/opensource-logging-system/","size":15385,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"balabit:master","ref":"master","sha":"72c157bb26b59a9688836cfe89d371fd1634336d","user":{"login":"balabit","id":986981,"avatar_url":"https://avatars.githubusercontent.com/u/986981?v=3","gravatar_id":"","url":"https://api.github.com/users/balabit","html_url":"https://github.com/balabit","followers_url":"https://api.github.com/users/balabit/followers","following_url":"https://api.github.com/users/balabit/following{/other_user}","gists_url":"https://api.github.com/users/balabit/gists{/gist_id}","starred_url":"https://api.github.com/users/balabit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balabit/subscriptions","organizations_url":"https://api.github.com/users/balabit/orgs","repos_url":"https://api.github.com/users/balabit/repos","events_url":"https://api.github.com/users/balabit/events{/privacy}","received_events_url":"https://api.github.com/users/balabit/received_events","type":"Organization","site_admin":false},"repo":{"id":14146757,"name":"syslog-ng","full_name":"balabit/syslog-ng","owner":{"login":"balabit","id":986981,"avatar_url":"https://avatars.githubusercontent.com/u/986981?v=3","gravatar_id":"","url":"https://api.github.com/users/balabit","html_url":"https://github.com/balabit","followers_url":"https://api.github.com/users/balabit/followers","following_url":"https://api.github.com/users/balabit/following{/other_user}","gists_url":"https://api.github.com/users/balabit/gists{/gist_id}","starred_url":"https://api.github.com/users/balabit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balabit/subscriptions","organizations_url":"https://api.github.com/users/balabit/orgs","repos_url":"https://api.github.com/users/balabit/repos","events_url":"https://api.github.com/users/balabit/events{/privacy}","received_events_url":"https://api.github.com/users/balabit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/balabit/syslog-ng","description":"syslog-ng is an enhanced log daemon, supporting a wide range of input and output methods: syslog, unstructured text, queueing, SQL & NoSQL.","fork":false,"url":"https://api.github.com/repos/balabit/syslog-ng","forks_url":"https://api.github.com/repos/balabit/syslog-ng/forks","keys_url":"https://api.github.com/repos/balabit/syslog-ng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/balabit/syslog-ng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/balabit/syslog-ng/teams","hooks_url":"https://api.github.com/repos/balabit/syslog-ng/hooks","issue_events_url":"https://api.github.com/repos/balabit/syslog-ng/issues/events{/number}","events_url":"https://api.github.com/repos/balabit/syslog-ng/events","assignees_url":"https://api.github.com/repos/balabit/syslog-ng/assignees{/user}","branches_url":"https://api.github.com/repos/balabit/syslog-ng/branches{/branch}","tags_url":"https://api.github.com/repos/balabit/syslog-ng/tags","blobs_url":"https://api.github.com/repos/balabit/syslog-ng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/balabit/syslog-ng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/balabit/syslog-ng/git/refs{/sha}","trees_url":"https://api.github.com/repos/balabit/syslog-ng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/balabit/syslog-ng/statuses/{sha}","languages_url":"https://api.github.com/repos/balabit/syslog-ng/languages","stargazers_url":"https://api.github.com/repos/balabit/syslog-ng/stargazers","contributors_url":"https://api.github.com/repos/balabit/syslog-ng/contributors","subscribers_url":"https://api.github.com/repos/balabit/syslog-ng/subscribers","subscription_url":"https://api.github.com/repos/balabit/syslog-ng/subscription","commits_url":"https://api.github.com/repos/balabit/syslog-ng/commits{/sha}","git_commits_url":"https://api.github.com/repos/balabit/syslog-ng/git/commits{/sha}","comments_url":"https://api.github.com/repos/balabit/syslog-ng/comments{/number}","issue_comment_url":"https://api.github.com/repos/balabit/syslog-ng/issues/comments{/number}","contents_url":"https://api.github.com/repos/balabit/syslog-ng/contents/{+path}","compare_url":"https://api.github.com/repos/balabit/syslog-ng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/balabit/syslog-ng/merges","archive_url":"https://api.github.com/repos/balabit/syslog-ng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/balabit/syslog-ng/downloads","issues_url":"https://api.github.com/repos/balabit/syslog-ng/issues{/number}","pulls_url":"https://api.github.com/repos/balabit/syslog-ng/pulls{/number}","milestones_url":"https://api.github.com/repos/balabit/syslog-ng/milestones{/number}","notifications_url":"https://api.github.com/repos/balabit/syslog-ng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/balabit/syslog-ng/labels{/name}","releases_url":"https://api.github.com/repos/balabit/syslog-ng/releases{/id}","deployments_url":"https://api.github.com/repos/balabit/syslog-ng/deployments","created_at":"2013-11-05T16:22:02Z","updated_at":"2016-05-16T13:42:40Z","pushed_at":"2016-05-16T16:56:36Z","git_url":"git://github.com/balabit/syslog-ng.git","ssh_url":"git@github.com:balabit/syslog-ng.git","clone_url":"https://github.com/balabit/syslog-ng.git","svn_url":"https://github.com/balabit/syslog-ng","homepage":"http://www.syslog-ng.org/","size":22605,"stargazers_count":295,"watchers_count":295,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":112,"mirror_url":null,"open_issues_count":166,"forks":112,"open_issues":166,"watchers":295,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/balabit/syslog-ng/pulls/1053"},"html":{"href":"https://github.com/balabit/syslog-ng/pull/1053"},"issue":{"href":"https://api.github.com/repos/balabit/syslog-ng/issues/1053"},"comments":{"href":"https://api.github.com/repos/balabit/syslog-ng/issues/1053/comments"},"review_comments":{"href":"https://api.github.com/repos/balabit/syslog-ng/pulls/1053/comments"},"review_comment":{"href":"https://api.github.com/repos/balabit/syslog-ng/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/balabit/syslog-ng/pulls/1053/commits"},"statuses":{"href":"https://api.github.com/repos/balabit/syslog-ng/statuses/ddea3918a2ce74e7b600927b61796f2e4b28b3f8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":13,"additions":736,"deletions":194,"changed_files":23}}