fluent-plugin-file-alternative 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -1
- data/fluent-plugin-file-alternative.gemspec +1 -1
- data/lib/fluent/plugin/out_file_alternative.rb +15 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3a323dabb8ae76d2eede7991e3f0e08462336d6
|
4
|
+
data.tar.gz: 46d53cd2af10acfce5983cdc7c1b6e658147c5df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f6f99151dbbf3336bbf23cc2d97fb579c1babf7fde9f2bb5cb0c5995ba91cf52068c34be5a4668a277a95d0d3d55f1944403d82b6232077e0bfbec1cd1975fb
|
7
|
+
data.tar.gz: c608ce655c43d691c844b24bcb99c30edfd7bcfd0df3c0bfd4778d9a12560d166782bb831a4e331bf896067ea6475bef009f0dd245a54968dc043b74b93c8ef9
|
data/.travis.yml
CHANGED
@@ -15,9 +15,15 @@ class Fluent::FileAlternativeOutput < Fluent::TimeSlicedOutput
|
|
15
15
|
|
16
16
|
config_set_default :time_slice_format, '%Y%m%d' # %Y%m%d%H
|
17
17
|
|
18
|
-
config_param :path, :string
|
19
|
-
|
20
|
-
|
18
|
+
config_param :path, :string,
|
19
|
+
:desc => <<-DESC
|
20
|
+
The Path of the file.
|
21
|
+
/path/pattern/to/hdfs/file can use %Y %m %d %H %M %S
|
22
|
+
DESC
|
23
|
+
|
24
|
+
config_param :compress,
|
25
|
+
:desc => "Supported format: #{SUPPORTED_COMPRESS.keys}",
|
26
|
+
:default => nil do |val|
|
21
27
|
c = SUPPORTED_COMPRESS[val.to_sym]
|
22
28
|
unless c
|
23
29
|
raise ConfigError, "Unsupported compression algorithm '#{compress}'"
|
@@ -25,11 +31,14 @@ class Fluent::FileAlternativeOutput < Fluent::TimeSlicedOutput
|
|
25
31
|
c
|
26
32
|
end
|
27
33
|
|
28
|
-
config_param :symlink_path, :string, :default => nil
|
34
|
+
config_param :symlink_path, :string, :default => nil,
|
35
|
+
:desc => "Create symlink to temporary buffered file when buffer_type is file."
|
29
36
|
|
30
|
-
config_param :dir_mode, :string, :default => '0777'
|
37
|
+
config_param :dir_mode, :string, :default => '0777',
|
38
|
+
:desc => "The mode of the directory."
|
31
39
|
|
32
|
-
config_param :set_dir_mode, :bool, :default => true
|
40
|
+
config_param :set_dir_mode, :bool, :default => true,
|
41
|
+
:desc => "Set the mode of the directory."
|
33
42
|
|
34
43
|
include Fluent::Mixin::PlainTextFormatter
|
35
44
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-file-alternative
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TAGOMORI Satoshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|