logstash-output-awslogs 0.1.26 → 0.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/logstash/outputs/awslogs.rb +2 -3
- 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: b101283f4c71649578a073eac435ecfc727cff3e2cbfea45458e64566b5a42aa
|
4
|
+
data.tar.gz: a7ab59be3ca3ca945f52dbb374764c8e869bb724b7e5e8f27c5bf01380a7b708
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
155
|
+
end # def multi_receive_encodeds
|
157
156
|
end # class LogStash::Outputs::Awslogs
|