logstash-output-cassandra 0.9.1 → 0.9.2

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
  SHA1:
3
- metadata.gz: c9302d3a9e13a5a2d80d1b228d9741785599bffc
4
- data.tar.gz: 9c35b7e36936512df5ab046c49a42152deacb522
3
+ metadata.gz: 78f16f6e355e8a2bd674abaa603223846b93d6a2
4
+ data.tar.gz: fc75adf6e9454ec06afe54586f69290e33e5e3d6
5
5
  SHA512:
6
- metadata.gz: 0a6fd4c289c65ada58ff2939e6d1eb722a7e05afb0e0ab9ccaa495ac15de453c544cecb63209e4e2bdcbd5760d6ceba6af80e5c4f01b58b61a61bfd865ea188e
7
- data.tar.gz: 64d572b84c1b1370dbb4c7cad7af6383f61d934d477c76041463d87d8aa622abff183efd121c0973c50b3a3d5029bd5d8c74d3b5ed8df2f88607f2e28d097f2f
6
+ metadata.gz: 6f76f725e3806e3bba63558dc277ccc71d0fd71c013cef8e9e849aaa44e2245713f2fb771a642a175ce0b4f71fb73303e4c670f552c6bf781ccf64520fa74c5a
7
+ data.tar.gz: ea0c377fc05c44ad9930903040500a88ccc8460b35c54f647c98fa2e99ef103c4c64876a1ce1908433c29d475c571e2363ec7c8103c03a50153aeb702ea1e0b2
@@ -70,9 +70,8 @@ module LogStash; module Outputs; module Cassandra
70
70
  end
71
71
 
72
72
  def add_event_data_using_configured_hints(event, action)
73
- action_data = event.to_hash
74
- # Filter out @timestamp, @version, etc to be able to use elasticsearch input plugin directly
75
- action_data.reject!{|key| %r{^@} =~ key}
73
+ action_data = event.to_hash.reject { |key| %r{^@} =~ key }
74
+
76
75
  @hints.each do |event_key, cassandra_type|
77
76
  if action_data.has_key?(event_key)
78
77
  action_data[event_key] = convert_value_to_cassandra_type_or_default_if_configured(action_data[event_key], cassandra_type)
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-cassandra'
4
- s.version = '0.9.1'
4
+ s.version = '0.9.2'
5
5
  s.licenses = [ 'Apache License (2.0)' ]
6
6
  s.summary = 'Store events into Cassandra'
7
7
  s.description = 'This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-cassandra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - PerimeterX
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-23 00:00:00.000000000 Z
11
+ date: 2016-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement