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 +4 -4
- data/lib/logstash/inputs/rds.rb +5 -0
- data/logstash-input-rds.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04cf97fae48c5e12bb3bd61b6c8978ebb12d16ec0f5d8b571766a2631df625ab
|
4
|
+
data.tar.gz: '0828e6f4bbeb188d7c6b18710d6b9bcb3a9391a51286032d4b83a7a11640a708'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcb223a2df61d89cd6f6e7f4fa163565d7c4b6c680386e19dbb4202ed255cc0180175823d42cacd70c004cdd1fc3fba9639778e3132c8c3f9c456f6138953e76
|
7
|
+
data.tar.gz: c993ed5bee69f991394cc276a23cebce38f4c2dba1ce575cc8cfbab3e1fa5a369bf559574c5c88a399396aefac4669c47015dee5ca4e89018ca65ba652df31d3
|
data/lib/logstash/inputs/rds.rb
CHANGED
@@ -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]}"
|
data/logstash-input-rds.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-input-rds'
|
3
|
-
s.version = '0.
|
4
|
-
s.summary = '
|
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.
|
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-
|
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:
|
120
|
+
summary: Ingest RDS log files to Logstash
|
121
121
|
test_files: []
|