fluent-plugin-cloudwatch-logs 0.13.2 → 0.13.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51935a06f74f11a53f106e38e4f08132a7342d6509dc38c0d468d54e19e5fa28
4
- data.tar.gz: 738e36cb222adca31a2f79e56ec71cc691f26468eb8025bb9d61773d0dd9d633
3
+ metadata.gz: b5c8b0cb261724720a72342f7c9b5a51dffd93c3deab87b24ca17dec5a342385
4
+ data.tar.gz: 85698ef2c6b1d51b507d3d1f27f7990e456b0aa76980c2c9520d4babbbec5fae
5
5
  SHA512:
6
- metadata.gz: 06675b2f4beedcf0d39c79bf93c59586c0d11816b97a22ee3f472fa6fc892e666c96f8600cfc8f98fba3b2b82f40dd452ec9b451caf6170da199fcf71ad42bff
7
- data.tar.gz: 294a5c7fe16c450a58478b982cba8d174d603885234619b5631c1da314b5b7b8a0874424d2b5c997a4790333f99739ecac3cd47a4af97836bf15c9da90ed25af
6
+ metadata.gz: e8186340af3335ec492110059280fb6bdfdff9c90982b8ec27a7c923cc08fc95d9babbf525ea2f558adfd975f8c5bbff2d53e7e4c00177eaf2d9d8c7711c0aa1
7
+ data.tar.gz: ab3172fffdc73a7ccf307a0b0482cd15f017c30fb2a775a69da657bdaa659a5e3ccee5df4bad85666802dce5b8a172539f37edd8cbca149b22073755c2fae050
@@ -2,7 +2,7 @@ module Fluent
2
2
  module Plugin
3
3
  module Cloudwatch
4
4
  module Logs
5
- VERSION = "0.13.2"
5
+ VERSION = "0.13.3"
6
6
  end
7
7
  end
8
8
  end
@@ -266,7 +266,11 @@ module Fluent::Plugin
266
266
  }
267
267
  request.merge!(start_time: @start_time) if @start_time
268
268
  request.merge!(end_time: @end_time) if @end_time
269
- log_next_token = next_token(log_group_name, log_stream_name)
269
+ if @use_log_group_name_prefix
270
+ log_next_token = next_token(log_stream_name, log_group_name)
271
+ else
272
+ log_next_token = next_token(log_stream_name)
273
+ end
270
274
  request[:next_token] = log_next_token if !log_next_token.nil? && !log_next_token.empty?
271
275
  response = @logs.get_log_events(request)
272
276
  if valid_next_token(log_next_token, response.next_forward_token)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-cloudwatch-logs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.2
4
+ version: 0.13.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryota Arai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-18 00:00:00.000000000 Z
11
+ date: 2021-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd