fluent-plugin-logdna 0.1.4 → 0.1.5
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 +4 -4
- data/README.md +1 -1
- data/fluent-plugin-logdna.gemspec +2 -1
- data/lib/fluent/plugin/out_logdna.rb +1 -1
- metadata +21 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 14b55b11f2a8e65f520848e562af9c9b35c5fcc7
|
|
4
|
+
data.tar.gz: 2d37a86e2329cfd1b24850f362cd90b9c30f07d0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4af3c7d17e7aef3a6b62f1ca890bb32ebf6f6ce9a768aa2bc6dc6169d2d8ae0a057aab8a0592cb9470a38cc9b0755c4d58ed751c9dd17bcf21f334547209a382
|
|
7
|
+
data.tar.gz: c37bc197d3799956743d4596f1c8b37ea7a13f10c4053c9ffd62a54a6366115aa9c149e949a46f6ab19079b2ccb4e1a555e402eff813ea00b7c495234dfbadcc
|
data/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Using fluent-plugin-logdna, you can send the logs you collect with Fluentd to Lo
|
|
|
13
13
|
|
|
14
14
|
~~~~~
|
|
15
15
|
<match your_match>
|
|
16
|
-
type logdna
|
|
16
|
+
@type logdna
|
|
17
17
|
api_key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # paste your api key here (required)
|
|
18
18
|
hostname my_host # replace with your hostname (required)
|
|
19
19
|
mac C0:FF:EE:C0:FF:EE # replace with host mac address
|
|
@@ -3,7 +3,7 @@ require 'date'
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = 'fluent-plugin-logdna'
|
|
6
|
-
s.version = '0.1.
|
|
6
|
+
s.version = '0.1.5'
|
|
7
7
|
s.date = Date.today.to_s
|
|
8
8
|
s.summary = 'LogDNA plugin for Fluentd'
|
|
9
9
|
s.description = 'Fluentd plugin for supplying output to LogDNA.'
|
|
@@ -17,5 +17,6 @@ Gem::Specification.new do |s|
|
|
|
17
17
|
s.files = `git ls-files -z`.split("\x0")
|
|
18
18
|
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
19
19
|
s.required_ruby_version = Gem::Requirement.new('>= 2.0.0')
|
|
20
|
+
s.add_runtime_dependency 'fluentd', '>= 0.12.0', '< 2'
|
|
20
21
|
s.add_runtime_dependency 'http', '~> 2.0', '>= 2.0.3'
|
|
21
22
|
end
|
|
@@ -6,7 +6,7 @@ module Fluent
|
|
|
6
6
|
|
|
7
7
|
INGESTER_DOMAIN = 'https://logs.logdna.com'.freeze
|
|
8
8
|
|
|
9
|
-
config_param :api_key, :string
|
|
9
|
+
config_param :api_key, :string, secret: true
|
|
10
10
|
config_param :hostname, :string
|
|
11
11
|
config_param :mac, :string, default: nil
|
|
12
12
|
config_param :ip, :string, default: nil
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-logdna
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Edwin Lai
|
|
@@ -10,6 +10,26 @@ bindir: bin
|
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2017-03-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: fluentd
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - '>='
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: 0.12.0
|
|
20
|
+
- - <
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: '2'
|
|
23
|
+
type: :runtime
|
|
24
|
+
prerelease: false
|
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
26
|
+
requirements:
|
|
27
|
+
- - '>='
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: 0.12.0
|
|
30
|
+
- - <
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '2'
|
|
13
33
|
- !ruby/object:Gem::Dependency
|
|
14
34
|
name: http
|
|
15
35
|
requirement: !ruby/object:Gem::Requirement
|