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 +4 -4
- data/lib/logstash/outputs/awslogs.rb +4 -1
- data/logstash-output-awslogs.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1280d4828fdd1cbfc0e407bfdfae5127572cb0c6
|
4
|
+
data.tar.gz: c641eccec19bdc129e2c15a5c927ec7796945149
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|