logstash-output-redis-increment 0.5.0 → 0.6.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/redis-increment.rb +5 -2
- data/logstash-output-redis-increment.gemspec +2 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 786031e2c45be1b11123b2eb38b042c63b9bd0a2762c48e7a19eff60c33e4ad3
|
4
|
+
data.tar.gz: 793c99fc08df2ba803c701e5754091544d243ffcfd7c322bb15af1cea00fa348
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd0225dbe036a3eae00167318c1e3d04f2827d3522c10ae78714cdfcca5562e3935305bffbed9fd66dbb4a29e07e90c94a97e5bcd0fbdabf339c8496b907b5ee
|
7
|
+
data.tar.gz: ff32a7b5054d14911552c4a6986b2c21e7df673e8488d3e059eb3d9e7156dc797d1081e8190d5cf8f2bb4e27b6467b425856c8823b4b911058820061afeaf6f4
|
@@ -28,7 +28,7 @@ class LogStash::Outputs::Redis < LogStash::Outputs::Base
|
|
28
28
|
|
29
29
|
public
|
30
30
|
def register
|
31
|
-
require
|
31
|
+
require "redis-clustering"
|
32
32
|
@redis = nil
|
33
33
|
@codec.on_event(&method(:send_to_redis))
|
34
34
|
end # def register
|
@@ -63,7 +63,10 @@ class LogStash::Outputs::Redis < LogStash::Outputs::Base
|
|
63
63
|
params[:password] = @password.value
|
64
64
|
end
|
65
65
|
|
66
|
-
|
66
|
+
node_list = Array.new
|
67
|
+
node_list << @host
|
68
|
+
|
69
|
+
Redis::Cluster.new(nodes: node_list)
|
67
70
|
end #def connect
|
68
71
|
|
69
72
|
# A string used to identify a Redis instance in log messages
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-redis-increment'
|
3
|
-
s.version = '0.
|
3
|
+
s.version = '0.6.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.'
|
@@ -21,5 +21,6 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.add_runtime_dependency "logstash-core-plugin-api", "~> 2.0"
|
22
22
|
s.add_runtime_dependency 'redis', '~> 4'
|
23
23
|
s.add_runtime_dependency "logstash-codec-plain"
|
24
|
+
s.add_runtime_dependency "redis-clustering"
|
24
25
|
s.add_development_dependency "logstash-devutils"
|
25
26
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-redis-increment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evan Vinciguerra
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
name: redis-clustering
|
62
|
+
prerelease: false
|
63
|
+
type: :runtime
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
requirement: !ruby/object:Gem::Requirement
|
57
71
|
requirements:
|