logstash-output-coralogix_logger 0.20.0 → 0.20.1

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: b1160b7615c75971d112aa0eb160e66c6b765575
4
- data.tar.gz: 7249b739cd0d57fca278967ff32f7aca6cef7adb
3
+ metadata.gz: b60c4bebcaa78d90eeed5ef832be07bc2fea0be0
4
+ data.tar.gz: 7feb762a55b9cb87d20e5b358e0f4502162e744d
5
5
  SHA512:
6
- metadata.gz: 7b192a2d6e395ace7b64aac2409c912f249578de1645eeae58c307b73d5b95d0fc8f9f73a28b7d8196f6f1cd69b2a91e154980b414a4b37ae51df5b29cbf4f9a
7
- data.tar.gz: d2e1be9762919aafb47ede750bd8cc8570497304dd8e7fac2754b372b68e357ee41789bdd3285e315251daf9ef54dd13faee1f331f0b37f57ff0681020164996
6
+ metadata.gz: 2f88a2110e57e0d6455726a687b9ac1b5713d2e487f52f9da7741df6b5a9b79b73f102ac50d6fa45dd6acaa7e85f78add6ac50f4849570e189460ad262d8ea24
7
+ data.tar.gz: 140a1142cc829ee17e368b21a7a1e0f09f5cb5be21c852e60278c4bb3faeb15094634b740a978fecbc41f52868ad7fc7386ae2c1bf327475e2f96a0baf4283f3
@@ -31,7 +31,7 @@ class LogStash::Outputs::CoralogixLogger < LogStash::Outputs::Base
31
31
  temp_key = (log_key_name == nil) ? "message" : log_key_name
32
32
 
33
33
  if record[temp_key] != nil
34
- record[temp_key] = is_json ? convert_to_json(record[temp_key]) : record[temp_key]
34
+ record[temp_key] = is_json ? convert_to_json(record[temp_key]) : record[temp_key]
35
35
  end
36
36
 
37
37
  logger = get_logger(record)
@@ -48,7 +48,7 @@ class LogStash::Outputs::CoralogixLogger < LogStash::Outputs::Base
48
48
  logger.debug log_record
49
49
  else
50
50
  begin
51
- float_timestamp = DateTime.parse(timestamp).to_time.to_f * 1000
51
+ float_timestamp = DateTime.parse(timestamp.to_s).to_time.to_f * 1000
52
52
  logger.debug log_record, nil, timestamp:float_timestamp
53
53
  rescue Exception => e
54
54
  logger.debug log_record
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-coralogix_logger'
3
- s.version = '0.20.0'
3
+ s.version = '0.20.1'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = 'Coralogix Logstash logger SDK'
6
6
  s.description = 'Coralogix Logstash logger to send logs to Coralogix server'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-coralogix_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Royee Goldberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-17 00:00:00.000000000 Z
11
+ date: 2018-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash-core-plugin-api