fluent-plugin-cloudwatch-ingest 0.1.35 → 0.1.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c62f188d9ecb7b7ef9dbe4d0b5e8bd7e3a6c73d
4
- data.tar.gz: afb3917ba13e9e11397286dc0765e15ed7b63206
3
+ metadata.gz: b3765490c06a56df758589044828c0964113ece1
4
+ data.tar.gz: 8a230db8b8f371d3749c814acbd7c619773f8e47
5
5
  SHA512:
6
- metadata.gz: 9c95aa9da0b975edcce8b0ca4bce7bfd114474b18df1fd182e3804853c106cde4189851c840e0f9dd060750a01b5eeaebc9293836066d64f3d74c8cd52a1c3f6
7
- data.tar.gz: f32107c54e1e9159ef0d33c9e803e74f12a8c7f517975617e03a1cf43db812ad8a3950c41b08e07d55e06177499f5d65f96dca81d4fc687aa30cba3581284c60
6
+ metadata.gz: b78ebc2d39297a4c41a7dbce72c3f94c829ca316f8a592f95d54cbfd793cce082215efb142afd49f4a591f2184f6359c7793bca6d575937c278eb3a8da026a90
7
+ data.tar.gz: 49e3d5a7491e26d63b1a00af27a79aca38867565de9e590c4e689ac7fe04f355241cf3d4ce863f0eee8db169fa80451f8c47216de571166a1ecf986550740f97
@@ -2,7 +2,7 @@ module Fluent
2
2
  module Plugin
3
3
  module Cloudwatch
4
4
  module Ingest
5
- VERSION = '0.1.35'.freeze
5
+ VERSION = '0.1.36'.freeze
6
6
  end
7
7
  end
8
8
  end
@@ -31,6 +31,7 @@ module Fluent::Plugin
31
31
  config_param :api_interval, :time, default: 5
32
32
  desc 'Tag to apply to record'
33
33
  config_param :tag, :string, default: 'cloudwatch'
34
+ config_param :aws_logging_enabled, :bool, default: false
34
35
  config_section :parse do
35
36
  config_set_default :@type, 'cloudwatch_ingest'
36
37
  end
@@ -54,7 +55,7 @@ module Fluent::Plugin
54
55
  # Get a handle to Cloudwatch
55
56
  aws_options = {}
56
57
  Aws.config[:region] = @region
57
- Aws.config[:logger] = log
58
+ Aws.config[:logger] = log if @aws_logging
58
59
  log.info("Working in region #{@region}")
59
60
 
60
61
  if @sts_enabled
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-cloudwatch-ingest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.35
4
+ version: 0.1.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Pointer