fluent-plugin-s3 1.3.0 → 1.3.1
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 +4 -4
- data/ChangeLog +4 -0
- data/README.md +10 -7
- data/VERSION +1 -1
- data/lib/fluent/plugin/out_s3.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8593f8ac82d2c9d12ee60cbf28512fe88521ada5940a2f6be6ad63fec2367843
|
|
4
|
+
data.tar.gz: cb75cc99ad934d89cb681a3791a780a8f127b81fe0f9eefa8d2a68a223bb7487
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f5817b1f6a0f0f01f4c3f062191a65d29892099b745f0c1fa6ce77287ed899ce96cf454c607cac5a5c3c9c6f1a20db5b9cf2c636bd3b081ccd7e53ed623fe6f8
|
|
7
|
+
data.tar.gz: 0000725e7ac679b7cc88a0e754114f8f270cc60c64285d9ec960ff92bd6534d7aafc98b3bf45c9f4465c869b9f261e133245dc6b3423ae7b218e8c7203282e3b
|
data/ChangeLog
CHANGED
data/README.md
CHANGED
|
@@ -301,6 +301,10 @@ See also AWS article: [Working with Regions](https://aws.amazon.com/blogs/develo
|
|
|
301
301
|
|
|
302
302
|
Enable [S3 Transfer Acceleration](https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html) for uploads. **IMPORTANT**: For this to work, you must first enable this feature on your destination S3 bucket.
|
|
303
303
|
|
|
304
|
+
**enable_dual_stack**
|
|
305
|
+
|
|
306
|
+
Enable [Amazon S3 Dual-Stack Endpoints](https://docs.aws.amazon.com/AmazonS3/latest/dev/dual-stack-endpoints.html) for uploads. Will make it possible to use either IPv4 or IPv6 when connecting to S3.
|
|
307
|
+
|
|
304
308
|
**use_bundled_cert**
|
|
305
309
|
|
|
306
310
|
For cases where the default SSL certificate is unavailable (e.g. Windows), you can set this option to true in order to use the AWS SDK bundled certificate. Default is false.
|
|
@@ -422,16 +426,16 @@ Change one line format in the S3 object. Supported formats are "out_file",
|
|
|
422
426
|
|
|
423
427
|
|
|
424
428
|
At this format, "time" and "tag" are omitted. But you can set these
|
|
425
|
-
information to the record by setting
|
|
426
|
-
"include_time_key" / "time_key" option. If you set following configuration in
|
|
429
|
+
information to the record by setting `<inject>` option. If you set following configuration in
|
|
427
430
|
S3 output:
|
|
428
431
|
|
|
429
432
|
# v1
|
|
430
433
|
<format>
|
|
431
434
|
@type json
|
|
432
|
-
include_time_key true
|
|
433
|
-
time_key log_time # default is time
|
|
434
435
|
</format>
|
|
436
|
+
<inject>
|
|
437
|
+
time_key log_time
|
|
438
|
+
</inject>
|
|
435
439
|
# v0.12
|
|
436
440
|
@format json
|
|
437
441
|
include_time_key true
|
|
@@ -441,15 +445,14 @@ then the record has log_time field.
|
|
|
441
445
|
|
|
442
446
|
{"log_time":"time string",...}
|
|
443
447
|
|
|
448
|
+
See also [official Inject Section article](https://docs.fluentd.org/configuration/inject-section).
|
|
449
|
+
|
|
444
450
|
* ltsv
|
|
445
451
|
|
|
446
452
|
key1:value1\tkey2:value2
|
|
447
453
|
key1:value1\tkey2:value2
|
|
448
454
|
...
|
|
449
455
|
|
|
450
|
-
|
|
451
|
-
"ltsv" format also accepts "include_xxx" related options. See "json" section.
|
|
452
|
-
|
|
453
456
|
* single_value
|
|
454
457
|
|
|
455
458
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.3.
|
|
1
|
+
1.3.1
|
data/lib/fluent/plugin/out_s3.rb
CHANGED
|
@@ -84,6 +84,8 @@ module Fluent::Plugin
|
|
|
84
84
|
config_param :s3_endpoint, :string, default: nil
|
|
85
85
|
desc "If true, S3 Transfer Acceleration will be enabled for uploads. IMPORTANT: You must first enable this feature on your destination S3 bucket"
|
|
86
86
|
config_param :enable_transfer_acceleration, :bool, default: false
|
|
87
|
+
desc "If true, use Amazon S3 Dual-Stack Endpoints. Will make it possible to use either IPv4 or IPv6 when connecting to S3."
|
|
88
|
+
config_param :enable_dual_stack, :bool, default: false
|
|
87
89
|
desc "If false, the certificate of endpoint will not be verified"
|
|
88
90
|
config_param :ssl_verify_peer, :bool, :default => true
|
|
89
91
|
desc "The format of S3 object keys"
|
|
@@ -223,6 +225,7 @@ module Fluent::Plugin
|
|
|
223
225
|
options[:region] = @s3_region if @s3_region
|
|
224
226
|
options[:endpoint] = @s3_endpoint if @s3_endpoint
|
|
225
227
|
options[:use_accelerate_endpoint] = @enable_transfer_acceleration
|
|
228
|
+
options[:use_dualstack_endpoint] = @enable_dual_stack
|
|
226
229
|
options[:http_proxy] = @proxy_uri if @proxy_uri
|
|
227
230
|
options[:force_path_style] = @force_path_style
|
|
228
231
|
options[:compute_checksums] = @compute_checksums unless @compute_checksums.nil?
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-s3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sadayuki Furuhashi
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2020-
|
|
12
|
+
date: 2020-04-15 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: fluentd
|