fluent-plugin-logit 0.1.0.pre.alpha.pre.9 → 0.1.0.pre.alpha.pre.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fluent/plugin/out_logit.rb +4 -1
- data/test/integration/Dockerfile +7 -0
- data/test/integration/fluent.conf +29 -0
- metadata +5 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 128ac710f8a0d220b72d989132a741d6f5d87dcd
|
4
|
+
data.tar.gz: d033f8d00d5d370ac97bc6cea903d91fe3a6dff4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 093063bcf651b74878688f0200c71b7fd21746daa7ecbeef329a7d10659890b652807cff222191d5f2370b4c2b7fc2183b97afca4277d4a57770dbc47c05cc45
|
7
|
+
data.tar.gz: 9f014bae52ce38fcd641f9f4107212b420f23d8b1c2db195d1418cba40cc5959aeefe568472daed6ea989035e2d332af0d07e64363f5e6910fa2a86f715a5445
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Start a fluentd server
|
2
|
+
# docker run --rm -it -e "FLUENTD_OPT=-vv" -p 24224:24224 -v (pwd):/fluentd/etc -e FLUENTD_CONF=fluent.conf logit/fluentd
|
3
|
+
|
4
|
+
# Generate example logs
|
5
|
+
# docker run --log-driver=fluentd --log-opt fluentd-address=localhost:24224 --log-opt tag=docker.{{.ID}} chentex/random-logger:latest
|
6
|
+
|
7
|
+
<source>
|
8
|
+
type forward
|
9
|
+
port 24224
|
10
|
+
bind 0.0.0.0
|
11
|
+
</source>
|
12
|
+
|
13
|
+
# if container stdout is json
|
14
|
+
#<filter docker.**>
|
15
|
+
# @type parser
|
16
|
+
# format json
|
17
|
+
# key_name log
|
18
|
+
# reserve_data true
|
19
|
+
#</filter>
|
20
|
+
|
21
|
+
<match docker.**>
|
22
|
+
type logit
|
23
|
+
stack_id your-stack-id
|
24
|
+
port your-tls-tls-port
|
25
|
+
# edit as required
|
26
|
+
buffer_type file
|
27
|
+
buffer_path /tmp/
|
28
|
+
flush_interval 2s
|
29
|
+
</match>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-logit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.pre.alpha.pre.
|
4
|
+
version: 0.1.0.pre.alpha.pre.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Logit
|
@@ -89,6 +89,8 @@ files:
|
|
89
89
|
- fluent-plugin-logit.gemspec
|
90
90
|
- lib/fluent/plugin/out_logit.rb
|
91
91
|
- test/helper.rb
|
92
|
+
- test/integration/Dockerfile
|
93
|
+
- test/integration/fluent.conf
|
92
94
|
- test/plugin/test_out_logit.rb
|
93
95
|
homepage: https://github.com/logit/fluent-plugin-logit
|
94
96
|
licenses:
|
@@ -116,4 +118,6 @@ specification_version: 4
|
|
116
118
|
summary: Fluentd output plugin to store data with logit.io
|
117
119
|
test_files:
|
118
120
|
- test/helper.rb
|
121
|
+
- test/integration/Dockerfile
|
122
|
+
- test/integration/fluent.conf
|
119
123
|
- test/plugin/test_out_logit.rb
|