fluent-plugin-cloudwatch-logs 0.14.0 → 0.14.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e5c502cb8ad443406678f2c8ce7f6c8ea031c75f18f502d2b85ee1401e42faf
|
4
|
+
data.tar.gz: 3a06cf5ea24ef24bab2078ed216930508a2bd51940d659ff104c2de1515072db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e5e8033091ea7f2f461095271b64ede8b5d807c4a7215ba403b25c7f0028bdc0d68ad4a2ed3171f9ea50b9997902e52140bdd6587c8d67af1a925f7dc5be726
|
7
|
+
data.tar.gz: 21d9c62b75f66b6fb8e5b65915e91dd26696612e8439ea3ffd65c2b2fff7fd169556e47b8d451874d0134c97d5523c5d8afe5f1f052bc016b08c6ad147cecd8f
|
data/README.md
CHANGED
@@ -106,7 +106,7 @@ export AWS_ACCESS_KEY_ID="YOUR_ACCESS_KEY"
|
|
106
106
|
export AWS_SECRET_ACCESS_KEY="YOUR_SECRET_ACCESS_KEY"
|
107
107
|
```
|
108
108
|
|
109
|
-
Note: For this to work persistently the
|
109
|
+
Note: For this to work persistently the environment will need to be set in the startup scripts or docker variables.
|
110
110
|
|
111
111
|
### AWS Configuration
|
112
112
|
|
@@ -184,6 +184,7 @@ Fetch sample log from CloudWatch Logs:
|
|
184
184
|
* `aws_sec_key`: AWS Secret Access Key. See [Authentication](#authentication) for more information.
|
185
185
|
* `concurrency`: use to set the number of threads pushing data to CloudWatch. (default: 1)
|
186
186
|
* `endpoint`: use this parameter to connect to the local API endpoint (for testing)
|
187
|
+
* `ssl_verify_peer`: when `true` (default), SSL peer certificates are verified when establishing a connection. Setting to `false` can be useful for testing.
|
187
188
|
* `http_proxy`: use to set an optional HTTP proxy
|
188
189
|
* `include_time_key`: include time key as part of the log entry (defaults to UTC)
|
189
190
|
* `json_handler`: name of the library to be used to handle JSON data. For now, supported libraries are `json` (default) and `yajl`.
|
@@ -263,6 +264,7 @@ Please refer to [the PutRetentionPolicy column in documentation](https://docs.aw
|
|
263
264
|
* `aws_sts_session_name`: the session name to use with sts authentication (default: `fluentd`)
|
264
265
|
* `aws_use_sts`: use [AssumeRoleCredentials](http://docs.aws.amazon.com/sdkforruby/api/Aws/AssumeRoleCredentials.html) to authenticate, rather than the [default credential hierarchy](http://docs.aws.amazon.com/sdkforruby/api/Aws/CloudWatchLogs/Client.html#initialize-instance_method). See 'Cross-Account Operation' below for more detail.
|
265
266
|
* `endpoint`: use this parameter to connect to the local API endpoint (for testing)
|
267
|
+
* `ssl_verify_peer`: when `true` (default), SSL peer certificates are verified when establishing a connection. Setting to `false` can be useful for testing.
|
266
268
|
* `fetch_interval`: time period in seconds between checking CloudWatch for new logs. (default: 60)
|
267
269
|
* `http_proxy`: use to set an optional HTTP proxy
|
268
270
|
* `json_handler`: name of the library to be used to handle JSON data. For now, supported libraries are `json` (default) and `yajl`.
|
@@ -23,6 +23,7 @@ module Fluent::Plugin
|
|
23
23
|
config_param :aws_sts_endpoint_url, :string, default: nil
|
24
24
|
config_param :region, :string, default: nil
|
25
25
|
config_param :endpoint, :string, default: nil
|
26
|
+
config_param :ssl_verify_peer, :bool, :default => true
|
26
27
|
config_param :tag, :string
|
27
28
|
config_param :log_group_name, :string
|
28
29
|
config_param :add_log_group_name, :bool, default: false
|
@@ -31,7 +32,7 @@ module Fluent::Plugin
|
|
31
32
|
config_param :log_stream_name, :string, default: nil
|
32
33
|
config_param :use_log_stream_name_prefix, :bool, default: false
|
33
34
|
config_param :state_file, :string, default: nil,
|
34
|
-
deprecated: "Use <
|
35
|
+
deprecated: "Use <storage> instead."
|
35
36
|
config_param :fetch_interval, :time, default: 60
|
36
37
|
config_param :http_proxy, :string, default: nil
|
37
38
|
config_param :json_handler, :enum, list: [:yajl, :json], default: :yajl
|
@@ -85,6 +86,7 @@ module Fluent::Plugin
|
|
85
86
|
options = {}
|
86
87
|
options[:region] = @region if @region
|
87
88
|
options[:endpoint] = @endpoint if @endpoint
|
89
|
+
options[:ssl_verify_peer] = @ssl_verify_peer
|
88
90
|
options[:http_proxy] = @http_proxy if @http_proxy
|
89
91
|
|
90
92
|
if @aws_use_sts
|
@@ -25,6 +25,7 @@ module Fluent::Plugin
|
|
25
25
|
config_param :aws_sts_endpoint_url, :string, default: nil
|
26
26
|
config_param :region, :string, :default => nil
|
27
27
|
config_param :endpoint, :string, :default => nil
|
28
|
+
config_param :ssl_verify_peer, :bool, :default => true
|
28
29
|
config_param :log_group_name, :string, :default => nil
|
29
30
|
config_param :log_stream_name, :string, :default => nil
|
30
31
|
config_param :auto_create_stream, :bool, default: false
|
@@ -120,6 +121,7 @@ module Fluent::Plugin
|
|
120
121
|
options[:log_level] = :debug if log
|
121
122
|
options[:region] = @region if @region
|
122
123
|
options[:endpoint] = @endpoint if @endpoint
|
124
|
+
options[:ssl_verify_peer] = @ssl_verify_peer
|
123
125
|
options[:instance_profile_credentials_retries] = @aws_instance_profile_credentials_retries if @aws_instance_profile_credentials_retries
|
124
126
|
|
125
127
|
if @aws_use_sts
|
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.14.
|
4
|
+
version: 0.14.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryota Arai
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|
@@ -122,7 +122,7 @@ dependencies:
|
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
|
-
description:
|
125
|
+
description:
|
126
126
|
email:
|
127
127
|
- ryota.arai@gmail.com
|
128
128
|
executables: []
|
@@ -151,7 +151,7 @@ homepage: https://github.com/fluent-plugins-nursery/fluent-plugin-cloudwatch-log
|
|
151
151
|
licenses:
|
152
152
|
- MIT
|
153
153
|
metadata: {}
|
154
|
-
post_install_message:
|
154
|
+
post_install_message:
|
155
155
|
rdoc_options: []
|
156
156
|
require_paths:
|
157
157
|
- lib
|
@@ -166,8 +166,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
166
|
- !ruby/object:Gem::Version
|
167
167
|
version: '0'
|
168
168
|
requirements: []
|
169
|
-
rubygems_version: 3.2.
|
170
|
-
signing_key:
|
169
|
+
rubygems_version: 3.2.5
|
170
|
+
signing_key:
|
171
171
|
specification_version: 4
|
172
172
|
summary: CloudWatch Logs Plugin for Fluentd
|
173
173
|
test_files:
|