logstash-output-awslogs 0.1.14 → 0.1.15
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 +2 -2
- 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: 29735655683e0bf0d17d8726372472e951cbfc3c
|
4
|
+
data.tar.gz: 81fe5f0b3430e382cd049984cde731332f676252
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f35c56827166827987c39716260dd1435f2ac0d7071208e674e6cf27d1a6102c9ae24e4cbac3fb67fce978499f5ce15e9e66eec61b07ca0c5b522c2e7c23068
|
7
|
+
data.tar.gz: 22eadde7bcff23206e3c99d87c5b0545de942e7f348260f8831a490565b206fc75f5b6d092db15a0091d7f512561d79698532e2da525d6da67412fabed580b81
|
@@ -99,7 +99,7 @@ class LogStash::Outputs::Awslogs < LogStash::Outputs::Base
|
|
99
99
|
else
|
100
100
|
begin
|
101
101
|
@client.create_log_stream(ident_opts)
|
102
|
-
until sequence_tokens[event_log_group_name][event_log_stream_name]
|
102
|
+
until sequence_tokens[event_log_group_name].key?(event_log_stream_name) && !sequence_tokens[event_log_group_name][event_log_stream_name].to_s.empty?
|
103
103
|
@client.describe_log_streams(log_group_name: event_log_group_name).each do |response|
|
104
104
|
response.log_streams.each do |log_stream_data|
|
105
105
|
sequence_tokens[event_log_group_name][log_stream_data.log_stream_name.to_s] = log_stream_data.upload_sequence_token.to_s
|
@@ -154,7 +154,7 @@ class LogStash::Outputs::Awslogs < LogStash::Outputs::Base
|
|
154
154
|
@logger.info('Logs throttling, retry')
|
155
155
|
retry
|
156
156
|
rescue Exception => e
|
157
|
-
@logger.error(
|
157
|
+
@logger.error(e)
|
158
158
|
end
|
159
159
|
end
|
160
160
|
end # def multi_receive_encoded
|