logstash-output-awslogs 0.1.23 → 0.1.24

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: 7b230422347a67d44cc5a3277e024f0935866278c754396142f3cb6b1c0d6a4d
4
- data.tar.gz: fff343b28f5fcb63a47f1ceaa5da80014d2be023fd06addbe4b1cd9c797901d6
3
+ metadata.gz: 6c79c590f6a8db8e37f39e91dfabe4f17697bd02d29aaa1a36148d4780eafe0b
4
+ data.tar.gz: f646423c73d78e6ed3861af4fb27952c5c12e626fc0f4b35060b2ce0a5661d94
5
5
  SHA512:
6
- metadata.gz: 6b827cfe658efb98103088f829d7d5ae147171d0d1bd1656c50ab1364ffd708bd411fb372226d293653c59937729984676a57e6db16874afc4f7d12c59b0650e
7
- data.tar.gz: 637271353ffdef124f9133cce332635225620b3d8a32aeae69cb5a32a6e723c8dcf0ac443f3560ad467e04df77e603610c41516ce5d55360cba3d63dca3e8703
6
+ metadata.gz: 07d4fc8717742ceb35b20d1ed6be7e9a0f6ae058b19c7fbf9384ffa2be91565e3007e01a39d6aebd3f2c16ee7095f61b6e0b24343e2ff86e9c4211d8daac8480
7
+ data.tar.gz: 4097286d38c5bc9ef062a3974012d36e54e8b3444471fcd82db0d91400c9fb2a8c4f2c6277896c1fae3cdb1d8b4e4eac30824d426b7288b889fdc552f36d99dc
@@ -38,7 +38,7 @@ class LogStash::Outputs::Awslogs < LogStash::Outputs::Base
38
38
  unless to_send.keys.include? next_sequence_token_key
39
39
  to_send.store(next_sequence_token_key, [])
40
40
  end
41
- if event.get('message').empty?
41
+ if event.get('message')&.empty?
42
42
  to_send[next_sequence_token_key].push(
43
43
  timestamp: (event.timestamp.time.to_f * 1000).to_int,
44
44
  message: encoded
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-awslogs'
3
- s.version = '0.1.23'
3
+ s.version = '0.1.24'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = 'Writes events to AWS CloudWatch logs.'
6
6
  s.homepage = 'https://github.com/rickycook/logstash-output-awslogs'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-awslogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.23
4
+ version: 0.1.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Klyba
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-17 00:00:00.000000000 Z
11
+ date: 2020-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement