fluent-plugin-s3 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ChangeLog +4 -0
- data/README.md +3 -3
- data/VERSION +1 -1
- data/lib/fluent/plugin/out_s3.rb +4 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 164bdc30d36c459b718ba23deb8e4a2ba92e7975649f1ceac6f463080b4664e1
|
4
|
+
data.tar.gz: c1d226ea3a67ae5aec3bae2f76b64e61bcde12554a2132416056a97826a40dc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6d62d8f88fd09611eb5ecec1157574da96190b625f1794106f68bee4e57fb0dda317547330a0649c66f4d7224cf953e3395fb170f481b5b5a5d242eb318c69a
|
7
|
+
data.tar.gz: 031dac994ab6a51424114077e8ae0006617953c44de05f75a3035b6c0de2ff3b67f16c6f706e6ab658cf6fd99a623e8d7d30ceceaef74d2678556d99be824868
|
data/ChangeLog
CHANGED
data/README.md
CHANGED
@@ -299,8 +299,8 @@ When it is false,
|
|
299
299
|
Check object before creation if it exists or not. Default is true.
|
300
300
|
|
301
301
|
When it is false,
|
302
|
-
s3_object_key_format will be %{path}%{
|
303
|
-
where,
|
302
|
+
s3_object_key_format will be %{path}%{time_slice}_%{hms_slice}.%{file_extension} by default
|
303
|
+
where, hms_slice will be time-slice in hhmmss format, so that each object will be unique.
|
304
304
|
Example object name, assuming it is created on 2016/16/11 3:30:54 PM
|
305
305
|
20161611_153054.txt (extension can be anything as per user's choice)
|
306
306
|
|
@@ -696,7 +696,7 @@ on EC2 instances.
|
|
696
696
|
|
697
697
|
## Use your (de)compression algorithm
|
698
698
|
|
699
|
-
s3 plugin has
|
699
|
+
s3 plugin has pluggable compression mechanizm like Fluentd's input / output
|
700
700
|
plugin. If you set 'store_as xxx', `out_s3` plugin searches
|
701
701
|
`fluent/plugin/s3_compressor_xxx.rb` and `in_s3` plugin searches
|
702
702
|
`fluent/plugin/s3_extractor_xxx.rb`. You can define your (de)compression with
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.4
|
data/lib/fluent/plugin/out_s3.rb
CHANGED
@@ -178,8 +178,8 @@ module Fluent::Plugin
|
|
178
178
|
if conf.has_key?('s3_object_key_format')
|
179
179
|
log.warn "Set 'check_object false' and s3_object_key_format is specified. Check s3_object_key_format is unique in each write. If not, existing file will be overwritten."
|
180
180
|
else
|
181
|
-
log.warn "Set 'check_object false' and s3_object_key_format is not specified. Use '%{path}/%{
|
182
|
-
@s3_object_key_format = "%{path}/%{
|
181
|
+
log.warn "Set 'check_object false' and s3_object_key_format is not specified. Use '%{path}/%{time_slice}_%{hms_slice}.%{file_extension}' for s3_object_key_format"
|
182
|
+
@s3_object_key_format = "%{path}/%{time_slice}_%{hms_slice}.%{file_extension}"
|
183
183
|
end
|
184
184
|
end
|
185
185
|
|
@@ -280,7 +280,8 @@ module Fluent::Plugin
|
|
280
280
|
"%{file_extension}" => @compressor.ext,
|
281
281
|
}
|
282
282
|
values_for_s3_object_key_post = {
|
283
|
-
"%{date_slice}" => time_slice,
|
283
|
+
"%{date_slice}" => time_slice, # For backward compatibility
|
284
|
+
"%{time_slice}" => time_slice,
|
284
285
|
"%{hms_slice}" => hms_slicer,
|
285
286
|
}.merge!(@values_for_s3_object_chunk[chunk.unique_id])
|
286
287
|
values_for_s3_object_key_post["%{uuid_flush}".freeze] = uuid_random if @uuid_flush_enabled
|
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.1.
|
4
|
+
version: 1.1.4
|
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: 2018-
|
12
|
+
date: 2018-07-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fluentd
|
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
163
|
version: '0'
|
164
164
|
requirements: []
|
165
165
|
rubyforge_project:
|
166
|
-
rubygems_version: 2.6
|
166
|
+
rubygems_version: 2.7.6
|
167
167
|
signing_key:
|
168
168
|
specification_version: 4
|
169
169
|
summary: Amazon S3 output plugin for Fluentd event collector
|