logstash-input-rds 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fcc57e9667f6bf3780b050195b6b1de53525f257e014b56d40c3fec6ce6b1313
4
- data.tar.gz: f0a8255504b10d2e7efb4a418c3eefc135825767e6350b321637284b11d76977
3
+ metadata.gz: 04cf97fae48c5e12bb3bd61b6c8978ebb12d16ec0f5d8b571766a2631df625ab
4
+ data.tar.gz: '0828e6f4bbeb188d7c6b18710d6b9bcb3a9391a51286032d4b83a7a11640a708'
5
5
  SHA512:
6
- metadata.gz: 71d28433557560a3981fdcebe6be184aaceaa738de69b8ccf04e7fefb1d6443982eccbf9662a43e4ee681a20218f27b05dce2cb7c5167f8d5ae27b5e42d631a8
7
- data.tar.gz: abd9cb0756fec69e9976bb46ebf42218d0107d8d28c1f1cc9cf330cc6172a49d50a5f2248a383be0ee316fd4e77d8be88110cdf4f300dec0a8cdbc9ff5f1452a
6
+ metadata.gz: bcb223a2df61d89cd6f6e7f4fa163565d7c4b6c680386e19dbb4202ed255cc0180175823d42cacd70c004cdd1fc3fba9639778e3132c8c3f9c456f6138953e76
7
+ data.tar.gz: c993ed5bee69f991394cc276a23cebce38f4c2dba1ce575cc8cfbab3e1fa5a369bf559574c5c88a399396aefac4669c47015dee5ca4e89018ca65ba652df31d3
@@ -26,6 +26,7 @@ class LogStash::Inputs::Rds < LogStash::Inputs::Base
26
26
  end
27
27
 
28
28
  def run(queue)
29
+ @thread = Thread.current
29
30
  Stud.interval(@polling_frequency) do
30
31
  @logger.debug "finding files starting #{@sincedate} (#{@sincedate.to_i * 1000})"
31
32
 
@@ -55,6 +56,10 @@ class LogStash::Inputs::Rds < LogStash::Inputs::Base
55
56
  end
56
57
  end
57
58
 
59
+ def stop
60
+ Stud.stop! @thread
61
+ end
62
+
58
63
  def filename2datetime(name)
59
64
  fragments = name.match /(\d{4})-(\d{2})-(\d{2})-(\d{2})$/
60
65
  Time.parse "#{fragments[1]}-#{fragments[2]}-#{fragments[3]} #{fragments[4]}"
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-rds'
3
- s.version = '0.13.0'
4
- s.summary = 'Stream events from RDS to Logstash'
3
+ s.version = '0.14.0'
4
+ s.summary = 'Ingest RDS log files to Logstash'
5
5
 
6
6
  s.authors = ['Andrew Schleifer']
7
7
  s.email = ['me@andrewschleifer.name']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-rds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Schleifer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-09 00:00:00.000000000 Z
11
+ date: 2017-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -117,5 +117,5 @@ rubyforge_project:
117
117
  rubygems_version: 2.6.13
118
118
  signing_key:
119
119
  specification_version: 4
120
- summary: Stream events from RDS to Logstash
120
+ summary: Ingest RDS log files to Logstash
121
121
  test_files: []