fluent-funplus-s3 0.3.7 → 0.3.8

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
  SHA1:
3
- metadata.gz: eb45b82dd3a161b5a636f0d3b34d5e0c4f5a34f2
4
- data.tar.gz: b636e06eaccc56797cc626ded17b7a07021bb995
3
+ metadata.gz: 62d93dc3da6801036abffe089f60189514c871f5
4
+ data.tar.gz: e25627ccbdf69f8b6e5dee74ef68caa788999efd
5
5
  SHA512:
6
- metadata.gz: 61ce6eb3197b8ac66885ece7d82de7b693ce3cea19dd18f0147fa1c874d7ecb2ed600d403531de181d88d140e4dbf9852e77d6af27750569deedcb72536bfb6b
7
- data.tar.gz: 4cd2835273adcdd2b65bbc6cca2a569bcd8f59bd51c7125f93031c1ff27de0c32695e3cbe91269cd5006c273d8931102ccbd0cca42418a0ad87fc29c5ba28976
6
+ metadata.gz: 50bcdefb507348390c2deef5867c27dea954485fc4bba1ec900b3519a7ac590bcd659d22da6bd2f1e3cfce756b65db0744caa00875c4042442649e537b02004b
7
+ data.tar.gz: a948afa6a737e2b8c8ff443d285378ac1158ab3cefd49affc222b0e258944e9165ddba8cd4176f0f17b9b4abc2e1d8d1b6cd52943d772d5ccb268992b943ac3d
@@ -11,12 +11,12 @@ This plugin splits files exactly by using the time of event logs (not the time w
11
11
 
12
12
  Simply use RubyGems:
13
13
 
14
- gem install fluent-plugin-s3
14
+ gem install fluent-funplus-s3
15
15
 
16
16
  == Configuration
17
17
 
18
18
  <match pattern>
19
- type s3
19
+ type funplus-s3
20
20
 
21
21
  aws_key_id YOUR_AWS_KEY_ID
22
22
  aws_sec_key YOUR_AWS_SECRET/KEY
@@ -25,6 +25,8 @@ Simply use RubyGems:
25
25
  s3_object_key_format %{path}%{time_slice}_%{index}.%{file_extension}
26
26
  path logs/
27
27
  buffer_path /var/log/fluent/s3
28
+ use_timestamp true
29
+ data_separator ","
28
30
 
29
31
  time_slice_format %Y%m%d-%H
30
32
  time_slice_wait 10m
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.7
1
+ 0.3.8
@@ -91,6 +91,14 @@ class S3Output < Fluent::TimeSlicedOutput
91
91
  }
92
92
  end
93
93
 
94
+ @data_separator = case @data_separator
95
+ when /SPACE/i then ' '
96
+ when /COMMA/i then ','
97
+ when /TAB/i then "\t"
98
+ when /SOH/i then "\x01"
99
+ else @data_separator
100
+ end
101
+
94
102
  end
95
103
 
96
104
  def start
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-funplus-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
@@ -108,7 +108,6 @@ files:
108
108
  - README.rdoc
109
109
  - Rakefile
110
110
  - VERSION
111
- - fluent-funplus-s3-0.3.6.gem
112
111
  - fluent-funplus-s3.gemspec
113
112
  - lib/fluent/plugin/out_funplus-s3.rb
114
113
  - test/out_funplus-s3.rb
Binary file