logstash-output-awslogs 0.1.13 → 0.1.14
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 +1 -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: 66fdfa1f573c2124d47a0fa6fe7520283b55d64c
|
4
|
+
data.tar.gz: f31ebd44b0a4b584fb594651d08aa71c2814e9b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5604d859864682080ebecae322c1d7287efa1c5594e9886eab9959b669fe4b876b78e09268feff4c0a3a1fda1b1a5a694de4597d099114f2c84066c503235952
|
7
|
+
data.tar.gz: ec2e7a4ca3e63ed2ad5f19533cb4fb7cc1861ccaab375a5df7b5c3a5f8fa3738415b8a0b4e9cd0c12a430b544d933644cf532f81f3826d31e42d83d563ccd100
|
@@ -131,6 +131,7 @@ class LogStash::Outputs::Awslogs < LogStash::Outputs::Base
|
|
131
131
|
end
|
132
132
|
begin
|
133
133
|
resp = @client.put_log_events(send_opts)
|
134
|
+
@next_sequence_tokens.store(next_sequence_token_key, resp.next_sequence_token)
|
134
135
|
rescue Aws::CloudWatchLogs::Errors::ResourceNotFoundException => e
|
135
136
|
@logger.info('Will create log group/stream and retry')
|
136
137
|
begin
|
@@ -155,7 +156,6 @@ class LogStash::Outputs::Awslogs < LogStash::Outputs::Base
|
|
155
156
|
rescue Exception => e
|
156
157
|
@logger.error("Err: #{e}; Opts: #{send_opts.each { |k,v| "#{k.to_s} : #{v.to_s}" }}")
|
157
158
|
end
|
158
|
-
@next_sequence_tokens.store(next_sequence_token_key, resp.next_sequence_token)
|
159
159
|
end
|
160
160
|
end # def multi_receive_encoded
|
161
161
|
end # class LogStash::Outputs::Awslogs
|