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 +4 -4
- data/README.rdoc +4 -2
- data/VERSION +1 -1
- data/lib/fluent/plugin/out_funplus-s3.rb +8 -0
- metadata +1 -2
- data/fluent-funplus-s3-0.3.6.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62d93dc3da6801036abffe089f60189514c871f5
|
4
|
+
data.tar.gz: e25627ccbdf69f8b6e5dee74ef68caa788999efd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50bcdefb507348390c2deef5867c27dea954485fc4bba1ec900b3519a7ac590bcd659d22da6bd2f1e3cfce756b65db0744caa00875c4042442649e537b02004b
|
7
|
+
data.tar.gz: a948afa6a737e2b8c8ff443d285378ac1158ab3cefd49affc222b0e258944e9165ddba8cd4176f0f17b9b4abc2e1d8d1b6cd52943d772d5ccb268992b943ac3d
|
data/README.rdoc
CHANGED
@@ -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-
|
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.
|
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.
|
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
|
data/fluent-funplus-s3-0.3.6.gem
DELETED
Binary file
|