logstash-output-awslogs 0.1.3 → 0.1.4

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: bec75a123ff15ce919c725baa2af5813e0703206
4
- data.tar.gz: 1e8b41bf7c45d24b0547079e43a5362850012688
3
+ metadata.gz: 1280d4828fdd1cbfc0e407bfdfae5127572cb0c6
4
+ data.tar.gz: c641eccec19bdc129e2c15a5c927ec7796945149
5
5
  SHA512:
6
- metadata.gz: 49197bb68bc31638e8b70bee08855ec13e5c34014d4b0df8fb1bfb013dd50855a4a710ed68074d8e0e6ef57983003e540727d299301b629242c13d245cb0c337
7
- data.tar.gz: fcce6922d97d519939479791e25a4abbcc4282c552caabcc1ca107e8530e4eb30e93f851be4782754abf40c674348c5c1847c96e3a2e5dcd1a32c5fc541b369b
6
+ metadata.gz: cfd68ef3a9bb21a4c3ab9b6efee6168aaa000d95e19d60413ab4c5ea407410f98dd07b96b655646d574c4562a85853e9a09da6e8da2940472b46926c9f497b42
7
+ data.tar.gz: 806074d660e435ad74fc4bcf766cfa1536680c9f53d84a9fd13c641e99ba0eee311409600dd13babb859a277e24879bb97f7ec62eacc525940449e4a7381ca2a
@@ -109,7 +109,10 @@ class LogStash::Outputs::Awslogs < LogStash::Outputs::Base
109
109
  end
110
110
  retry
111
111
  # TODO: handle rejected events with debug message
112
- @next_sequence_tokens.store(next_sequence_token_key, resp.next_sequence_token)
112
+ @next_sequence_tokens.store(next_sequence_token_key, resp.next_sequence_token)
113
+ rescue Aws::CloudWatchLogs::Errors::ThrottlingException => e
114
+ @logger.info("Logs throttling, wait 1 sec")
115
+ retry
113
116
  end
114
117
  end
115
118
  end # def multi_receive_encoded
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-awslogs'
3
- s.version = '0.1.3'
3
+ s.version = '0.1.4'
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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Klyba