logstash-output-awslogs 0.1.8 → 0.1.9
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: 976089b21d8679e1a4a82a82e496257ad6085a26
|
4
|
+
data.tar.gz: e05ab955c846840ca2e91d89520db15dc9cff0d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fb50d9e90d952643b4002be3f252a3fa6aa1fd690384a160ece3f469223a0def2e34ead061f883df113bb882f7de10c2c0ad71cb33f35d64383c21359c4a1a7
|
7
|
+
data.tar.gz: '04870b92f6126ef8a297afa9a0bfef6f55b7ac630d5499d15fa67a9a06d62037dab5df10f32e4951690bba00190557ad6f7e45a545ca75eee3fbe0e212091964'
|
@@ -45,11 +45,11 @@ class LogStash::Outputs::Awslogs < LogStash::Outputs::Base
|
|
45
45
|
event_log_group_name = event_log_names[0]
|
46
46
|
event_log_stream_name = event_log_names[1]
|
47
47
|
unless sequence_tokens.keys.include? event_log_group_name
|
48
|
-
sequence_tokens.store(event_log_group_name,
|
48
|
+
sequence_tokens.store(event_log_group_name, {})
|
49
49
|
begin
|
50
50
|
@client.describe_log_streams({log_group_name: event_log_group_name}).each do |response|
|
51
51
|
response.log_streams.each do |log_stream_data|
|
52
|
-
sequence_tokens[event_log_group_name]
|
52
|
+
sequence_tokens[event_log_group_name]["#{log_stream_data.log_stream_name}"] = "#{log_stream_data.upload_sequence_token}"
|
53
53
|
end
|
54
54
|
end
|
55
55
|
rescue Aws::CloudWatchLogs::Errors::ResourceNotFoundException => e
|