logstash-filter-jdbc_streaming 1.0.5 → 1.0.6
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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/logstash/filters/jdbc_streaming.rb +6 -0
- data/logstash-filter-jdbc_streaming.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01e521e88f5357fd42a948cfb29dbef356734cbdaf4717e122013f0761e4d9fa
|
4
|
+
data.tar.gz: 75781493683b74fac322f010a2036a73b19a2e81e4611cb12959d73402a8d98e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33781dc46d6235fa820a799f082abb7d8cd2063284a6dea5d2aa7b83d99e3689442a1b394945107b676b3c1a49891936175bcb24757ea3a92548d3f0c8711aa8
|
7
|
+
data.tar.gz: 35a03bb6e34966d0e09ef5b8fe906327dac55f83f9352bf301655a6e194d3ac4b1cb43501bfc2b278e768869480d5196986ee9a4ed54a7f0ab76c786faf621fd
|
data/CHANGELOG.md
CHANGED
@@ -131,6 +131,12 @@ module LogStash module Filters class JdbcStreaming < LogStash::Filters::Base
|
|
131
131
|
end
|
132
132
|
end
|
133
133
|
|
134
|
+
def close
|
135
|
+
@database.disconnect
|
136
|
+
rescue => e
|
137
|
+
logger.warn("Exception caught when attempting to close filter.", :exception => e.message, :backtrace => e.backtrace)
|
138
|
+
end
|
139
|
+
|
134
140
|
# ----------------------------------------
|
135
141
|
private
|
136
142
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-filter-jdbc_streaming'
|
3
|
-
s.version = '1.0.
|
3
|
+
s.version = '1.0.6'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = "Enrich events with your database data"
|
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/plugin install gemname. This gem is not a stand-alone program"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-filter-jdbc_streaming
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|