diff --git a/lib/logstash/outputs/elasticsearch/http_client/pool.rb b/lib/logstash/outputs/elasticsearch/http_client/pool.rb index 467141eaf..b808fb54e 100644 --- a/lib/logstash/outputs/elasticsearch/http_client/pool.rb +++ b/lib/logstash/outputs/elasticsearch/http_client/pool.rb @@ -12,7 +12,7 @@ def initialize(response_code, url, request_body, response_body) end def message - "Got response code '#{response_code}' contacting Elasticsearch at URL '#{@url}'" + "Got response code '#{response_code}' contacting Elasticsearch at URL '#{@url}'. Full response: '#{response_body}'" end end class HostUnreachableError < Error;