logstash-output-redis-increment 1.3.0 → 1.5.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: b72d26b3ab56c8410410ed4c29b1ebd30fc8e7030b2829877d0446e8b94ba976
4
- data.tar.gz: b495a6bc7c7230e085d6fb14760e97db90d579ca3d94d8aa53abc5a76426a4a7
3
+ metadata.gz: f9fbc8d61655a467e6cc047504cfc5040a63ca19df6cd80440b4b337ca96a9e2
4
+ data.tar.gz: 103fa43170d3a25954d15c2f575e2ce613d94b5ea0a49abc089c0e129949c74f
5
5
  SHA512:
6
- metadata.gz: 70825a170fc233a0f0e0c8e46250f33dc1b3e05a335c3d010377fcfccca3df98513221d813e6abfe11b9c60134012507c295c716cf1e39ba8825c34d2da7a979
7
- data.tar.gz: 32fdc0877162b2f2cf98641fac3582e5db0f08c2ecf58bca709aa162fb796e9ffd987f06b46d56f84beb28eddcc03b164f588eecb9ade4e672a43a7205d7c2d2
6
+ metadata.gz: 260fe2e2106d7aca3019a6b48493826d8d1919ffd41a8693eb751c3b34bc3d1c9f39a159bf136a82603ec9e9490509f14ebddf21a98a7fc0106ed1926901ae69
7
+ data.tar.gz: f0e4fd54c548455c3cb4162b5dcc5a3163e50cf9c31cc27d5d23b9a393dd6c12366535a2a2f10bc7a1ef02df38807f11f10c39f003ab2a1c0834389cfd68b2a7
@@ -54,7 +54,9 @@ class LogStash::Outputs::Redis < LogStash::Outputs::Base
54
54
  private
55
55
  def connect
56
56
  if @cluster
57
- Redis.new(cluster:@host)
57
+ node_list = Array.new
58
+ node_list << "redis://#{@host}"
59
+ Redis.new(cluster:node_list)
58
60
  else
59
61
  @current_host, @current_port = @host.split(':')
60
62
  params = {
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-redis-increment'
3
- s.version = '1.3.0'
3
+ s.version = '1.5.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.'
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: 1.3.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Vinciguerra