logstash-output-courier 1.8.4 → 1.9.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/outputs/courier.rb +12 -5
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85f196f3c2bfaf0d70c4488b408b0e5de2259c08
|
4
|
+
data.tar.gz: 9b788878b0e761a8c1ccaec9b041ec6f1dc9aa9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4db94b1617190cf4c1b8477f9acbf23bb98e7093da0d9e9741acfa962e778ef365cbb238ee6e8f6876f08366eeca88369c7397cb13c989e2bdf1ba29610b0f50
|
7
|
+
data.tar.gz: 9265e5f48d897d893a9551c30da5bfbaa0cb72256511262a15751c37fd920f04a26138a033f0899fe5398d9d4ad80d5cb79c40c5320e30c43178b4e5f159527e
|
@@ -66,14 +66,21 @@ module LogStash
|
|
66
66
|
|
67
67
|
def receive(event)
|
68
68
|
return unless output?(event)
|
69
|
-
if event == LogStash::SHUTDOWN
|
70
|
-
@client.shutdown
|
71
|
-
finished
|
72
|
-
return
|
73
|
-
end
|
74
69
|
@client.publish event.to_hash
|
75
70
|
end
|
76
71
|
|
72
|
+
# Logstash < 2.0.0 shutdown
|
73
|
+
def teardown
|
74
|
+
close
|
75
|
+
end
|
76
|
+
|
77
|
+
# Logstash >= 2.0.0 shutdown
|
78
|
+
def close
|
79
|
+
@client.shutdown
|
80
|
+
finished
|
81
|
+
nil
|
82
|
+
end
|
83
|
+
|
77
84
|
private
|
78
85
|
|
79
86
|
def options
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-courier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Woods
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash-core
|
@@ -34,14 +34,14 @@ dependencies:
|
|
34
34
|
name: log-courier
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- -
|
37
|
+
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 1.
|
39
|
+
version: '1.9'
|
40
40
|
requirement: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
|
-
- -
|
42
|
+
- - "~>"
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: 1.
|
44
|
+
version: '1.9'
|
45
45
|
prerelease: false
|
46
46
|
type: :runtime
|
47
47
|
description: Courier Output Logstash Plugin
|