logstash-input-http_poller 3.3.2 → 3.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/logstash/inputs/http_poller.rb +8 -2
- data/logstash-input-http_poller.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a727563b9aad19f728e2daf8df207430e816bf83
|
4
|
+
data.tar.gz: 98f5eb062b90a71573ef75cfd170e1a606b1d5ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f27c0825e037de11daa2e5192866f870630a4fcce3813a1c1993c10069534a743aeb4c952b4a9222d04df679b43aa22bf4b674ac14b0411cc27bf69bd772d010
|
7
|
+
data.tar.gz: 1c0a64a58abbf5354dfb07717a5e45ec0a1d4f04ec9daaecdeec283bfe8efd56eaab562ca9110d7d9d849d1e2269716fbdf70ecdc0b87a123ed32e6069b4d760
|
data/CHANGELOG.md
CHANGED
@@ -46,8 +46,7 @@ class LogStash::Inputs::HTTP_Poller < LogStash::Inputs::Base
|
|
46
46
|
def register
|
47
47
|
@host = Socket.gethostname.force_encoding(Encoding::UTF_8)
|
48
48
|
|
49
|
-
@logger.info("Registering http_poller Input", :type => @type,
|
50
|
-
:urls => @urls, :interval => @interval, :schedule => @schedule, :timeout => @timeout)
|
49
|
+
@logger.info("Registering http_poller Input", :type => @type, :interval => @interval, :schedule => @schedule, :timeout => @timeout)
|
51
50
|
|
52
51
|
setup_requests!
|
53
52
|
end
|
@@ -243,6 +242,13 @@ class LogStash::Inputs::HTTP_Poller < LogStash::Inputs::Base
|
|
243
242
|
:name => name,
|
244
243
|
:url => request
|
245
244
|
)
|
245
|
+
|
246
|
+
@logger.debug? && @logger.debug("Cannot read URL or send the error as an event!",
|
247
|
+
:exception => e,
|
248
|
+
:exception_message => e.message,
|
249
|
+
:exception_backtrace => e.backtrace,
|
250
|
+
:name => name,
|
251
|
+
:url => request)
|
246
252
|
end
|
247
253
|
|
248
254
|
private
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-input-http_poller'
|
3
|
-
s.version = '3.3.
|
3
|
+
s.version = '3.3.3'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = "Poll HTTP endpoints with Logstash."
|
6
6
|
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"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-http_poller
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-09-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|