logstash-output-coralogix 1.0.2 → 1.0.3

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: 4d2207840796781ef249e61f3bd27d46ee91a20a
4
- data.tar.gz: 2a5066f5937197bcfa2e3b7db25296dbaaecb56a
3
+ metadata.gz: be3235a98961304b530c10dc5e315471f980ae8e
4
+ data.tar.gz: 96a0b979e276641c4b5dc584741ad5c0ac53a2c4
5
5
  SHA512:
6
- metadata.gz: a3df35e78214dd980a15404abf869b35a0afbf605dee1107dad8905215b2d1d5e11b9c1047847540c6b84ae818f48d758132ba9a25feed1c1c9f5954c545a68e
7
- data.tar.gz: 7317bd4fec3f754472ef997270bc1e34800c4506cefbb8ea817cedc2764c9cca8f1d92f2b5db5e48e7d6407658a53eed74c2084d7b9f31c73969458773ec75c8
6
+ metadata.gz: aad65d89ae769241db5cf32e86a0bfe8bdabc6096dc2dcc19fd99bb8a5e164fe28ebde6f8ffa86670760dd5b7e820436adf8aa092f6b79fc729414f968a19382
7
+ data.tar.gz: d5423bc13c523e9be2e9208b33df2aae51ca297c8ec20343efd5b2b5d396a0006fdb0c5009632faef0b4a050038274d72c901aa4e06431639efee96b3e94d0ba
@@ -31,7 +31,7 @@ class LogStash::Outputs::Coralogix < LogStash::Outputs::Base
31
31
  logger = get_logger(record)
32
32
 
33
33
  log_record = log_key_name != nil ? record.fetch(log_key_name, record) : record
34
- log_record = is_json ? log_record.to_json : log_record
34
+ log_record = (is_json ? log_record.to_json : log_record) rescue log_record
35
35
  log_record = log_record.to_s.empty? ? record : log_record
36
36
 
37
37
  timestamp = record.fetch(timestamp_key_name, nil)
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-coralogix'
3
- s.version = '1.0.2'
4
- s.date = '2019-05-22'
3
+ s.version = '1.0.3'
4
+ s.date = '2019-06-19'
5
5
  s.licenses = ['Apache-2.0']
6
6
  s.summary = 'Deliver the logs to Coralogix service.'
7
7
  s.description = 'This gem is a Logstash output plugin to deliver the logs to Coralogix service.'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-coralogix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Coralogix
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-22 00:00:00.000000000 Z
11
+ date: 2019-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash-core-plugin-api