fluent-plugin-cloudwatch-ingest 0.1.6 → 0.1.7

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: cc43e17dd1c7b76c0e5e7a92dffb49d92b3050d0
4
- data.tar.gz: 46d6bf7c92b5078d187ca8b6e911e0a16ccbea8f
3
+ metadata.gz: 16a6ab1dc3986131dcfe45db3c801aca54a427af
4
+ data.tar.gz: 2c0be67155357340ff8cc519a55bfb1ff423cab7
5
5
  SHA512:
6
- metadata.gz: 8f040aaf6ae492f01410acdfb6a586ee447922bffc6e6ed0da326678bbd9b5b6eda0cbbaf0ebc844d76ebc64a0573a86c6e959253739903d52e1f463aaf73a68
7
- data.tar.gz: 5e9b4e8280283fd6ab3edc3ef1c3a63ffb7ad0dd33ae368f90842bb0517d7a4d0a94835a9c346be3f0c57c72f9881b6b604066295f06ba80e1637fcc9176d371
6
+ metadata.gz: 9bb3c533f4e0aba4a0ec3244da01cbc0d5a1eed27be35e0c9c4f4302dde404f790ddf25ac18b2507bbb80bc755b45c47802fcf7a53e5ab291cb59985a0c7ad48
7
+ data.tar.gz: dcda3d589504b08c1ebde08b84da802d43576f1e03f0a0f59d37428e77ebadbd3a7c3058bba4fe6d98e162d6ccff7bfa860a5013011b385bad7c0dc62af5b39d
@@ -2,7 +2,7 @@ module Fluent
2
2
  module Plugin
3
3
  module Cloudwatch
4
4
  module Ingest
5
- VERSION = '0.1.6'.freeze
5
+ VERSION = '0.1.7'.freeze
6
6
  end
7
7
  end
8
8
  end
@@ -8,7 +8,7 @@ require 'yaml'
8
8
  module Fluent::Plugin
9
9
  class Cloudwatch < Input
10
10
  Fluent::Plugin.register_input('cloudwatch', self)
11
- helpers :parser, :compat_parameters
11
+ helpers :compat_parameters
12
12
 
13
13
  desc 'The region of the source cloudwatch logs'
14
14
  config_param :region, :string, default: 'us-east-1'
@@ -32,23 +32,28 @@ module Fluent::Plugin
32
32
 
33
33
  def initialize
34
34
  super
35
+ log.info('Starting fluentd-plugin-cloudwatch-ingest')
35
36
  end
36
37
 
37
38
  def configure(conf)
38
39
  super
40
+ log.info('Configured fluentd-plugin-cloudwatch-ingest')
39
41
  end
40
42
 
41
43
  def start
44
+ log.info('Started fluentd-plugin-cloudwatch-ingest')
45
+
42
46
  # Get a handle to Cloudwatch
43
47
  aws_options = {}
44
48
  Aws.config[:region] = @region
49
+ log.info("Working in region #{@region}")
50
+
45
51
  if @sts_enabled
46
52
  aws_options[:credentials] = Aws::AssumeRoleCredentials.new(
47
53
  role_arn: @sts_arn,
48
54
  role_session_name: @sts_session_name
49
55
  )
50
56
 
51
- log.info("Working in region #{@region}")
52
57
  log.info("Using STS for authentication with source account ARN:
53
58
  #{@sts_arn}, session name: #{@sts_session_name}")
54
59
  else
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.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Pointer