logstash-output-awslogs 0.1.25 → 0.1.26
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 +3 -0
- data/logstash-output-awslogs.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 268bd7af65517b4eab80732976110a10662de589fd07108448e1be71b33adfe7
|
4
|
+
data.tar.gz: f0861dffc5571fd36deff09aca9f27abc09201be1df7e83582360f54e4a8e0db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41cd461560ed5d827b61e4e560c08754a07255f829805eed9ec36e6a8c669b5eba974c616919d6f8b96093ce3b5f534bd23a1dd81b7a64aa3363d4098534652a
|
7
|
+
data.tar.gz: d2388be26aa0bcb7876f88e4fd4e5ae8c67f1cc91d70e0fa0092caecc73674c3370e996b79ad3c6b0d34bd9b786d8ceabbbc20cb9a5d1a0cfbf5fd3f2b83f5a9
|
@@ -145,6 +145,9 @@ class LogStash::Outputs::Awslogs < LogStash::Outputs::Base
|
|
145
145
|
end
|
146
146
|
retry
|
147
147
|
# TODO: handle rejected events with debug message
|
148
|
+
rescue Aws::CloudWatchLogs::Errors::InvalidSequenceTokenException => e
|
149
|
+
send_opts[:sequence_token] = e.expected_sequence_token
|
150
|
+
retry
|
148
151
|
rescue Aws::CloudWatchLogs::Errors::ThrottlingException => e
|
149
152
|
@logger.info('Logs throttling, retry')
|
150
153
|
retry
|