logstash-output-redis-increment 1.1.0 → 1.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10f3efd161186f2fff1c32c023fe70568d95939b8b697786184f452bd752096b
|
4
|
+
data.tar.gz: 97c6d152562ca73ef89254bc86ad6ef89c9dda0e868994af8a0e6b86230ee096
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a333a54bd62ed90749c06f7ab9dcc0bfbf9450553b7e82f586a8ae3884533bc69b96ccfc0adafa2ff7b40ea6cc68c191aad407aa0c492842509cbf6d0dde308b
|
7
|
+
data.tar.gz: 87d342758eb11b353c33bff74153afb21ca74aa7b7ae602cf3a3f34f7b00c71d712c2e90ae809ca75090d7cd05f9be27d711a20d7e3c82deadc6390570d9d373
|
@@ -54,7 +54,7 @@ class LogStash::Outputs::Redis < LogStash::Outputs::Base
|
|
54
54
|
private
|
55
55
|
def connect
|
56
56
|
if @cluster
|
57
|
-
|
57
|
+
Redis.new(cluster:@host)
|
58
58
|
else
|
59
59
|
@current_host, @current_port = @host.split(':')
|
60
60
|
params = {
|
@@ -69,7 +69,8 @@ class LogStash::Outputs::Redis < LogStash::Outputs::Base
|
|
69
69
|
params[:password] = @password.value
|
70
70
|
end
|
71
71
|
|
72
|
-
|
72
|
+
Redis.new(params)
|
73
|
+
end
|
73
74
|
end #def connect
|
74
75
|
|
75
76
|
# A string used to identify a Redis instance in log messages
|
@@ -90,5 +91,5 @@ class LogStash::Outputs::Redis < LogStash::Outputs::Base
|
|
90
91
|
@redis = nil
|
91
92
|
retry
|
92
93
|
end
|
93
|
-
|
94
|
+
end #def send_to_redis
|
94
95
|
end # class LogStash::Outputs::Redis
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-redis-increment'
|
3
|
-
s.version = '1.
|
3
|
+
s.version = '1.2.0'
|
4
4
|
s.licenses = ['Apache-2.0']
|
5
5
|
s.summary = 'Logstash Output Plugin for RedisIncrement'
|
6
6
|
s.description = 'Logstash Redis Output plugin for incrementing a key from each event.'
|