{"action":"created","issue":{"url":"https://api.github.com/repos/balabit/syslog-ng/issues/890","labels_url":"https://api.github.com/repos/balabit/syslog-ng/issues/890/labels{/name}","comments_url":"https://api.github.com/repos/balabit/syslog-ng/issues/890/comments","events_url":"https://api.github.com/repos/balabit/syslog-ng/issues/890/events","html_url":"https://github.com/balabit/syslog-ng/pull/890","id":129152194,"number":890,"title":"elasticsearch: Support native elasticsearch config for transport mode.","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},"labels":[{"url":"https://api.github.com/repos/balabit/syslog-ng/labels/in%20progress","name":"in progress","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-27T14:01:41Z","updated_at":"2016-01-28T09:14:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/balabit/syslog-ng/pulls/890","html_url":"https://github.com/balabit/syslog-ng/pull/890","diff_url":"https://github.com/balabit/syslog-ng/pull/890.diff","patch_url":"https://github.com/balabit/syslog-ng/pull/890.patch"},"body":"Previously, this feature was available only for node mode.\r\nBy supporting loading native elasticsearch config, it is possible now\r\nto use Shield with syslog-ng.\r\n\r\nWhen you want to use Shield, you have to add elasticsearch-shield-1.3.3.jar\r\nto your classpath.\r\n\r\n```\r\nshield.ssl.keystore.path: /home/test/es/shield/client.jks\r\nshield.ssl.keystore.password: qqq123\r\nshield.transport.ssl: true\r\nshield.user: es_admin:qqq123\r\n```\r\n\r\n```\r\n@version: 3.8\r\n\r\ndestination d_elastic {\r\n    elasticsearch(\r\n        client_lib_dir(/usr/share/elasticsearch/lib)\r\n        client_mode(\"transport\")\r\n        cluster(\"es-syslog-ng\")\r\n        index(\"es-syslog-ng\")\r\n        port(\"9300\")\r\n        server(\"vagrant-es-server\")\r\n        type(\"slng_test_type\")\r\n        resource(\"/opt/syslog-ng/etc/elasticsearch.yml\")\r\n    );\r\n};\r\n\r\n```\r\n\r\nSigned-off-by: Laszlo Budai <Laszlo.Budai@balabit.com>"},"comment":{"url":"https://api.github.com/repos/balabit/syslog-ng/issues/comments/176077133","html_url":"https://github.com/balabit/syslog-ng/pull/890#issuecomment-176077133","issue_url":"https://api.github.com/repos/balabit/syslog-ng/issues/890","id":176077133,"user":{"login":"pzoleex","id":6919209,"avatar_url":"https://avatars.githubusercontent.com/u/6919209?v=3","gravatar_id":"","url":"https://api.github.com/users/pzoleex","html_url":"https://github.com/pzoleex","followers_url":"https://api.github.com/users/pzoleex/followers","following_url":"https://api.github.com/users/pzoleex/following{/other_user}","gists_url":"https://api.github.com/users/pzoleex/gists{/gist_id}","starred_url":"https://api.github.com/users/pzoleex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzoleex/subscriptions","organizations_url":"https://api.github.com/users/pzoleex/orgs","repos_url":"https://api.github.com/users/pzoleex/repos","events_url":"https://api.github.com/users/pzoleex/events{/privacy}","received_events_url":"https://api.github.com/users/pzoleex/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T09:14:58Z","updated_at":"2016-01-28T09:14:58Z","body":"for me it seems ok"}}