logstash-input-http_poller 3.3.2 → 3.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b122664ef7730d33928b3b72a7cdf357f2d9f3b
4
- data.tar.gz: b37ff785fd36a82e6d1bf6caca6587a3e3a3f811
3
+ metadata.gz: a727563b9aad19f728e2daf8df207430e816bf83
4
+ data.tar.gz: 98f5eb062b90a71573ef75cfd170e1a606b1d5ed
5
5
  SHA512:
6
- metadata.gz: cf3416fa4323a98ca466576cb84ea75a4c95b21af95a0ee3920a28405569b77ac9198853e14667fa929f58f2f80da880ea6ce22d21f52f92a4e3c19d09ba1499
7
- data.tar.gz: 822dda978ab4577177f9f6c5814d84095f48ede7a27bbca0a9ee71188861419a6c41323590049b288d07d8b0c23645c0eaf922ed3683130832b044807a36260b
6
+ metadata.gz: f27c0825e037de11daa2e5192866f870630a4fcce3813a1c1993c10069534a743aeb4c952b4a9222d04df679b43aa22bf4b674ac14b0411cc27bf69bd772d010
7
+ data.tar.gz: 1c0a64a58abbf5354dfb07717a5e45ec0a1d4f04ec9daaecdeec283bfe8efd56eaab562ca9110d7d9d849d1e2269716fbdf70ecdc0b87a123ed32e6069b4d760
@@ -1,3 +1,6 @@
1
+ ## 3.3.3
2
+ - Don't bleed URls credentials on startup or on exception #82
3
+
1
4
  ## 3.3.2
2
5
  - Documentation fixes
3
6
 
@@ -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.2'
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.2
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-08-18 00:00:00.000000000 Z
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