fluent-plugin-oss 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +29 -1
- data/VERSION +1 -1
- data/lib/fluent/plugin/out_oss.rb +1 -0
- 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: ac0de319fda6bfb5c391c637e13b0da730961c7811c8ceb56015199d488fae40
|
4
|
+
data.tar.gz: 18087c3e29b0455fd234a044e60f5f992e7db0ce43f27662da40eb73d17fcb97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4160a1c01232d07b714f00465ffd60e5c0473f71c22b550033106d436b737a8c77290a4ba36d790c3a368752a8c7d346022b8589610c5b5625daf4c03bb9c9a7
|
7
|
+
data.tar.gz: 341e2a19759791a77766b4c0d95c0cbf590ac81a8cc7b963dffff7d94216f5ee2ae0284f181b5836cfc536c7a86a07ab09f340305431abe89f2720b99f79525d
|
data/README.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# OSS plugin for [Fluentd](http://github.com/fluent/fluentd)
|
2
2
|
|
3
|
+
## Install
|
4
|
+
```
|
5
|
+
gem install fluent-plugin-oss
|
6
|
+
```
|
7
|
+
|
3
8
|
## Output: Configuration
|
4
9
|
|
5
10
|
```
|
@@ -12,8 +17,31 @@
|
|
12
17
|
oss_object_key_format "%{time_slice}/%{host}-%{uuid}.%{file_ext}"
|
13
18
|
|
14
19
|
buffer_path /var/log/fluent/myapp
|
20
|
+
buffer_chunk_limit 256m
|
15
21
|
time_slice_format %Y%m%d
|
16
22
|
time_slice_wait 10m
|
17
|
-
|
23
|
+
num_threads 8
|
24
|
+
</match>
|
25
|
+
```
|
26
|
+
|
27
|
+
You can also use it with the forest plugin.
|
28
|
+
|
29
|
+
```
|
30
|
+
<match **>
|
31
|
+
@type forest
|
32
|
+
subtype oss
|
33
|
+
<template>
|
34
|
+
oss_key_id xxx
|
35
|
+
oss_key_secret xxx
|
36
|
+
oss_bucket xxx
|
37
|
+
oss_endpoint xxx
|
38
|
+
oss_object_key_format "${tag}/%{time_slice}/%{host}-%{uuid}.%{file_ext}"
|
39
|
+
|
40
|
+
buffer_path /var/log/fluent/myapp
|
41
|
+
buffer_chunk_limit 256m
|
42
|
+
time_slice_format %Y%m%d
|
43
|
+
time_slice_wait 10m
|
44
|
+
num_threads 8
|
45
|
+
</template>
|
18
46
|
</match>
|
19
47
|
```
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-oss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sjtubreeze
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: '0'
|
99
99
|
requirements: []
|
100
100
|
rubyforge_project:
|
101
|
-
rubygems_version: 2.
|
101
|
+
rubygems_version: 2.7.6
|
102
102
|
signing_key:
|
103
103
|
specification_version: 4
|
104
104
|
summary: Aliyun oss output plugin for Fluentd event collector
|