diff --git a/lib/logstash/inputs/http_poller.rb b/lib/logstash/inputs/http_poller.rb index 6484413..a232005 100644 --- a/lib/logstash/inputs/http_poller.rb +++ b/lib/logstash/inputs/http_poller.rb @@ -221,6 +221,7 @@ def handle_decoded_event(queue, name, request, response, event, execution_time) def handle_failure(queue, name, request, exception, execution_time) event = LogStash::Event.new apply_metadata(event, name, request) + decorate(event) event.tag("_http_request_failure") diff --git a/logstash-input-http_poller.gemspec b/logstash-input-http_poller.gemspec index 7be6b3d..a75b7bc 100644 --- a/logstash-input-http_poller.gemspec +++ b/logstash-input-http_poller.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |s| s.name = 'logstash-input-http_poller' - s.version = '3.3.1' + s.version = '3.3.1.patched.2' s.licenses = ['Apache License (2.0)'] s.summary = "Poll HTTP endpoints with Logstash." s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program" @@ -20,7 +20,7 @@ Gem::Specification.new do |s| # Gem dependencies s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99" s.add_runtime_dependency 'logstash-codec-plain' - s.add_runtime_dependency 'logstash-mixin-http_client', ">= 5.0.0", "< 6.0.0" + s.add_runtime_dependency 'logstash-mixin-http_client', ">= 6.0.0", "< 7.0.0" s.add_runtime_dependency 'stud', "~> 0.0.22" s.add_runtime_dependency 'rufus-scheduler', "~>3.0.9"