logstash-output-awslogs 0.1.26 → 0.1.27

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: 268bd7af65517b4eab80732976110a10662de589fd07108448e1be71b33adfe7
4
- data.tar.gz: f0861dffc5571fd36deff09aca9f27abc09201be1df7e83582360f54e4a8e0db
3
+ metadata.gz: b101283f4c71649578a073eac435ecfc727cff3e2cbfea45458e64566b5a42aa
4
+ data.tar.gz: a7ab59be3ca3ca945f52dbb374764c8e869bb724b7e5e8f27c5bf01380a7b708
5
5
  SHA512:
6
- metadata.gz: 41cd461560ed5d827b61e4e560c08754a07255f829805eed9ec36e6a8c669b5eba974c616919d6f8b96093ce3b5f534bd23a1dd81b7a64aa3363d4098534652a
7
- data.tar.gz: d2388be26aa0bcb7876f88e4fd4e5ae8c67f1cc91d70e0fa0092caecc73674c3370e996b79ad3c6b0d34bd9b786d8ceabbbc20cb9a5d1a0cfbf5fd3f2b83f5a9
6
+ metadata.gz: a44eef076664b96349d4da5d4178e997ba4cd838f11b54d85e000b21c5cdaa02a6543afc9d552c63f12752a55d6666a7b4c36d7c3e671da444908e16088b582a
7
+ data.tar.gz: 1f0d095dd7fe53c97b8d88b0ce80054f7b45c69fcd9abc109332c89b9299881191b0e94a889b0ce32cf86b7d7bed5359092b14bea3154d37ead7667403490ead
@@ -144,14 +144,13 @@ class LogStash::Outputs::Awslogs < LogStash::Outputs::Base
144
144
  @logger.info("Log stream #{send_opts[:log_stream_name]} already exists")
145
145
  end
146
146
  retry
147
- # TODO: handle rejected events with debug message
148
147
  rescue Aws::CloudWatchLogs::Errors::InvalidSequenceTokenException => e
149
- send_opts[:sequence_token] = e.expected_sequence_token
148
+ send_opts[:sequence_token] = e[:expected_sequence_token]
150
149
  retry
151
150
  rescue Aws::CloudWatchLogs::Errors::ThrottlingException => e
152
151
  @logger.info('Logs throttling, retry')
153
152
  retry
154
153
  end
155
154
  end
156
- end # def multi_receive_encoded
155
+ end # def multi_receive_encodeds
157
156
  end # class LogStash::Outputs::Awslogs
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-awslogs'
3
- s.version = '0.1.26'
3
+ s.version = '0.1.27'
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-awslogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.26
4
+ version: 0.1.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Klyba