logstash-output-redis-increment 1.2.0 → 1.4.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: 10f3efd161186f2fff1c32c023fe70568d95939b8b697786184f452bd752096b
4
- data.tar.gz: 97c6d152562ca73ef89254bc86ad6ef89c9dda0e868994af8a0e6b86230ee096
3
+ metadata.gz: 0a63b36ea889691e7732e5543d92c80743f55665f3a76c3140b55676f86aaa67
4
+ data.tar.gz: a07a8850fee11ad6a81db7f1a064c7644a94bfaf86bdcd2bce53deb872b67f63
5
5
  SHA512:
6
- metadata.gz: a333a54bd62ed90749c06f7ab9dcc0bfbf9450553b7e82f586a8ae3884533bc69b96ccfc0adafa2ff7b40ea6cc68c191aad407aa0c492842509cbf6d0dde308b
7
- data.tar.gz: 87d342758eb11b353c33bff74153afb21ca74aa7b7ae602cf3a3f34f7b00c71d712c2e90ae809ca75090d7cd05f9be27d711a20d7e3c82deadc6390570d9d373
6
+ metadata.gz: 5be6f527d099e12b739b2097f185e402a07bd2a69eb99d60bbbddf34c2511f6360c33e54a049a831862085a8c134802b11368b7822d46b5a737c5d76da77fd5b
7
+ data.tar.gz: df5aeae09854dd488319e5ec0fba568f8ba853e587cf9bc77422946429c399c7da19b8889d40edf3f9bebdca66d24acf0dee85401a8ecfa7a8b6903f54371fb1
@@ -31,7 +31,7 @@ class LogStash::Outputs::Redis < LogStash::Outputs::Base
31
31
 
32
32
  public
33
33
  def register
34
- require "redis-clustering"
34
+ require "redis"
35
35
  @redis = nil
36
36
  @codec.on_event(&method(:send_to_redis))
37
37
  end # def register
@@ -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 << @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.2.0'
3
+ s.version = '1.4.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.2.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Vinciguerra