logstash-output-awslogs 0.1.18 → 0.1.19
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f22136ec202151e2601a9c93299d84797c1f16930c9236a495feabaf81f6444a
|
4
|
+
data.tar.gz: 9f7c115e01fd43e940a510e026157b40d051d2d7d246e783ae4107a6fba73b0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a30e56087c9ec65e1acb13dba932515e558e7fbccdc6b780d3963ee9b5ad79afcc31832fe57386402da6eef09e4cf4ac3647ba6524d16c6cdab216c7ecca93f2
|
7
|
+
data.tar.gz: 128aa9961f0ad5ec991243bc9442008ca05a1ee2b54466cc85edea0dafb75f5bb7db0646e0c36299766a875a607dd367429455c0787dbd992be1c20032d9fa39
|
@@ -52,7 +52,7 @@ class LogStash::Outputs::Awslogs < LogStash::Outputs::Base
|
|
52
52
|
begin
|
53
53
|
@client.describe_log_streams({log_group_name: event_log_group_name}).each do |response|
|
54
54
|
response.log_streams.each do |log_stream_data|
|
55
|
-
unless log_stream_data.upload_sequence_token
|
55
|
+
unless log_stream_data.upload_sequence_token&.empty?
|
56
56
|
sequence_tokens[event_log_group_name][log_stream_data.log_stream_name.to_s] = log_stream_data.upload_sequence_token.to_s
|
57
57
|
end
|
58
58
|
end
|
@@ -86,7 +86,7 @@ class LogStash::Outputs::Awslogs < LogStash::Outputs::Base
|
|
86
86
|
|
87
87
|
if @next_sequence_tokens.keys.include? next_sequence_token_key
|
88
88
|
send_opts[:sequence_token] = @next_sequence_tokens[next_sequence_token_key]
|
89
|
-
elsif
|
89
|
+
elsif !sequence_tokens[event_log_group_name][event_log_stream_name]&.empty?
|
90
90
|
send_opts[:sequence_token] = sequence_tokens[event_log_group_name][event_log_stream_name]
|
91
91
|
else
|
92
92
|
begin
|