fluent-plugin-logit 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/README.md +1 -1
- data/VERSION +1 -1
- data/fluent-plugin-logit.gemspec +2 -2
- data/fluent.conf +13 -0
- data/lib/fluent/plugin/out_logit.rb +4 -1
- data/test/integration/Dockerfile +7 -0
- data/test/integration/fluent.conf +29 -0
- data/test/plugin/test_out_logit.rb +1 -1
- metadata +17 -14
- data/.travis.yml +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 78c4c4ce59dc4b806f93e496225003e36edfda5bdea21eaf634390696653182d
|
4
|
+
data.tar.gz: e9a6cf80062c73fd922f7914227cb3bc45860c877f38ecb583c7a393083c54fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 416faa7684b294652716eb0dca134186057c9e9351b0b3ac3a846ff2be3404a785c3c1a1288b3cc66c1e7d64b237cff84371a3025d81f191b3af4e4e6fbd346e
|
7
|
+
data.tar.gz: 43896716fcd6270faedd0ef68d722f90f9bb15631f768dd528939c1237c77c37be694038f8864890988764b38bb93973dfda61cbcce2bf09f715ba3a2fdc537b
|
data/README.md
CHANGED
@@ -13,7 +13,7 @@ This plugin is for Logit customers to send events securely to Logit.
|
|
13
13
|
You need to configure the output with your stack_id and port number. See the source wizard for your configuration.
|
14
14
|
|
15
15
|
<match **>
|
16
|
-
type logit
|
16
|
+
@type logit
|
17
17
|
stack_id <your-stack-id>
|
18
18
|
port <your-port>
|
19
19
|
buffer_type file
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/fluent-plugin-logit.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.email = ["support@logit.io"]
|
8
8
|
s.description = %q{Logit output plugin for Fluentd}
|
9
9
|
s.summary = %q{Fluentd output plugin to store data with logit.io}
|
10
|
-
s.homepage = "https://github.com/logit/fluent-plugin-logit"
|
10
|
+
s.homepage = "https://github.com/logit-io/fluent-plugin-logit"
|
11
11
|
s.license = 'MIT'
|
12
12
|
|
13
13
|
s.files = `git ls-files`.split($/)
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
16
16
|
s.require_paths = ["lib"]
|
17
17
|
|
18
|
-
s.add_runtime_dependency "fluentd", '
|
18
|
+
s.add_runtime_dependency "fluentd", '>= 0.14.0', '< 2'
|
19
19
|
|
20
20
|
s.add_development_dependency "rake"
|
21
21
|
s.add_development_dependency "test-unit"
|
data/fluent.conf
ADDED
@@ -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,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-logit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Logit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 0.12.37
|
20
|
-
- - "<="
|
17
|
+
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: 0.14.0
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '2'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 0.12.37
|
30
|
-
- - "<="
|
27
|
+
- - ">="
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: 0.14.0
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rake
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,17 +80,19 @@ extensions: []
|
|
80
80
|
extra_rdoc_files: []
|
81
81
|
files:
|
82
82
|
- ".gitignore"
|
83
|
-
- ".travis.yml"
|
84
83
|
- Gemfile
|
85
84
|
- LICENSE
|
86
85
|
- README.md
|
87
86
|
- Rakefile
|
88
87
|
- VERSION
|
89
88
|
- fluent-plugin-logit.gemspec
|
89
|
+
- fluent.conf
|
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
|
-
homepage: https://github.com/logit/fluent-plugin-logit
|
95
|
+
homepage: https://github.com/logit-io/fluent-plugin-logit
|
94
96
|
licenses:
|
95
97
|
- MIT
|
96
98
|
metadata: {}
|
@@ -109,11 +111,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
111
|
- !ruby/object:Gem::Version
|
110
112
|
version: '0'
|
111
113
|
requirements: []
|
112
|
-
|
113
|
-
rubygems_version: 2.6.12
|
114
|
+
rubygems_version: 3.0.3
|
114
115
|
signing_key:
|
115
116
|
specification_version: 4
|
116
117
|
summary: Fluentd output plugin to store data with logit.io
|
117
118
|
test_files:
|
118
119
|
- test/helper.rb
|
120
|
+
- test/integration/Dockerfile
|
121
|
+
- test/integration/fluent.conf
|
119
122
|
- test/plugin/test_out_logit.rb
|
data/.travis.yml
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
dist: trusty
|
3
|
-
sudo: false
|
4
|
-
rvm:
|
5
|
-
- 2.3.3
|
6
|
-
script: bundle exec rake
|
7
|
-
before_install:
|
8
|
-
- gem update bundler
|
9
|
-
notifications:
|
10
|
-
email:
|
11
|
-
recipients:
|
12
|
-
- pmcevoy@logit.io
|
13
|
-
on_success: change
|
14
|
-
on_failure: change
|
15
|
-
deploy:
|
16
|
-
provider: rubygems
|
17
|
-
api_key:
|
18
|
-
secure: jcELEdmihHz+DRfyphNzfFqlaBUp84ZFIOaWKfNBoFHu2STod5YOVWAqC97ebGSixWxkHzO8mdr1vMOQOA70mgmunL3IF3G43Z6VoJuN69HFCTbdtdPO0731Pt7ldKwz6q6LQCJ91/TUIw0Cg0Nn4LqRH6AR4cXs07pKOQKeV5cA7AZP2royUzP4UUEY5c+rS0X/ki0BW14Sn56gUQ/LIGJ1jIJyNLU7G5gM3pyAp86A8x3/kjBm/5ifVnYLcUulOjoNJcxXbVeQK7E9So988mDgvHfVMiKADaKJBsg8Hed+f/S2EjFf5QQ6ZclZiHxFmq/Cx8HTMyd0yrh+imS6dLHvy84G3tqE0rSkxHSPV4o8qCW3jjA8JPX7nwKavxgnuSD3iIJJlw2rRHK15kXWQ4oWtDN65khs//fxNEHaSrY/b1MHwTthkVYZ4PwY5EQ5xvH8uZAdzFm9meDd+HkoMXqfooOeQwyXe8gpLJhqDWU4q+ZGjE0huDm0VkZRRWYC/0rXal8FJd2n7Pa2IjjTOq1iYv0FxcJExKdko55bLDQzMRNMNTbyvEIpAUVw/aHXzG+fPQsSivNb7JN+W3qB1f4L50A+vxqUO0YIXkAZ4NpaBaQMAMLMceKqxXstNmtSCyLBJMjilPDhaKk20FCYDvKFMVrrqCsvgZHARRcdXnQ=
|
19
|
-
on:
|
20
|
-
tags: true
|