{"action":"closed","issue":{"url":"https://api.github.com/repos/uken/fluent-plugin-elasticsearch/issues/341","repository_url":"https://api.github.com/repos/uken/fluent-plugin-elasticsearch","labels_url":"https://api.github.com/repos/uken/fluent-plugin-elasticsearch/issues/341/labels{/name}","comments_url":"https://api.github.com/repos/uken/fluent-plugin-elasticsearch/issues/341/comments","events_url":"https://api.github.com/repos/uken/fluent-plugin-elasticsearch/issues/341/events","html_url":"https://github.com/uken/fluent-plugin-elasticsearch/issues/341","id":283206729,"number":341,"title":"Debugging elasticsearch-transport","user":{"login":"ferbar","id":5595808,"avatar_url":"https://avatars0.githubusercontent.com/u/5595808?v=4","gravatar_id":"","url":"https://api.github.com/users/ferbar","html_url":"https://github.com/ferbar","followers_url":"https://api.github.com/users/ferbar/followers","following_url":"https://api.github.com/users/ferbar/following{/other_user}","gists_url":"https://api.github.com/users/ferbar/gists{/gist_id}","starred_url":"https://api.github.com/users/ferbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferbar/subscriptions","organizations_url":"https://api.github.com/users/ferbar/orgs","repos_url":"https://api.github.com/users/ferbar/repos","events_url":"https://api.github.com/users/ferbar/events{/privacy}","received_events_url":"https://api.github.com/users/ferbar/received_events","type":"User","site_admin":false},"labels":[{"id":108138007,"url":"https://api.github.com/repos/uken/fluent-plugin-elasticsearch/labels/feature-request","name":"feature-request","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-19T12:11:31Z","updated_at":"2017-12-20T04:25:46Z","closed_at":"2017-12-20T04:25:46Z","author_association":"NONE","body":"#### Problem\r\n\r\nElasticsearch-transport would log a lot if we gave it a logger object. This would make debugging much easier.\r\n\r\n#### Expected Behavior or What you need to ask\r\n\r\nGet error/debug messages from elasticsearch-transport.\r\n\r\n#### Using Fluentd and ES plugin versions\r\n\r\n* Fluentd v0.12\r\n* ES plugin 1.9.5\r\n\r\n#### Solutinon\r\n\r\nTo get the log messages from elasticsearch-transport yust jet logging object has to be passed.\r\nSee in file fluent/plugin/out_elasticsearch_dynamic.rb:46 adding:\r\n`logger:log,`\r\n\r\nwould do the trick. Do we need special Options to enable/disable this?"}}
{"actor":{"display_login":"cosmo0920"}}