logstash-codec-collectd 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/logstash/codecs/collectd.rb +3 -3
- data/logstash-codec-collectd.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 322604cfe191bf4f20131a1c189d28487c4076b3
|
4
|
+
data.tar.gz: 38cd8905eeb1f231ab883e123374af6bb0fb2cbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f5b7aaba18ec50b81cbb8a810b81c13a7cb554ec8b6708dc62c402c78277ccb7ab14b9fb9c22809c2d93bd49360c769d05633f5db44d40513293118d101e64c
|
7
|
+
data.tar.gz: afebec996e0a9ee6e467815b11e538af6ed382a18b11f98ade55ec87829b79249a744b19c36d0ebe8a3b342e32c4ea964f25dff7f249abb183c39f4770f27564
|
data/CHANGELOG.md
CHANGED
@@ -132,14 +132,14 @@ class LogStash::Codecs::Collectd < LogStash::Codecs::Base
|
|
132
132
|
|
133
133
|
public
|
134
134
|
def register
|
135
|
-
@logger.
|
135
|
+
@logger.trace("Starting Collectd codec...")
|
136
136
|
init_lambdas!
|
137
137
|
if @typesdb.nil?
|
138
138
|
@typesdb = ::File.expand_path('../../../vendor/types.db', ::File.dirname(__FILE__))
|
139
139
|
if !File.exists?(@typesdb)
|
140
140
|
raise "You must specify 'typesdb => ...' in your collectd input (I looked for '#{@typesdb}')"
|
141
141
|
end
|
142
|
-
@logger.
|
142
|
+
@logger.debug("Using types.db", :typesdb => @typesdb.to_s)
|
143
143
|
end
|
144
144
|
@types = get_types(@typesdb)
|
145
145
|
|
@@ -168,7 +168,7 @@ class LogStash::Codecs::Collectd < LogStash::Codecs::Base
|
|
168
168
|
# Get the typesdb
|
169
169
|
paths = Array(paths) # Make sure a single path is still forced into an array type
|
170
170
|
paths.each do |path|
|
171
|
-
@logger.
|
171
|
+
@logger.debug("Getting Collectd typesdb info", :typesdb => path.to_s)
|
172
172
|
File.open(path, 'r').each_line do |line|
|
173
173
|
typename, *line = line.strip.split
|
174
174
|
@logger.debug("typename", :typename => typename.to_s)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-codec-collectd'
|
4
|
-
s.version = '3.0.
|
4
|
+
s.version = '3.0.3'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Read events from the collectd binary protocol"
|
7
7
|
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-codec-collectd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
84
|
rubyforge_project:
|
85
|
-
rubygems_version: 2.
|
85
|
+
rubygems_version: 2.4.8
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: Read events from the collectd binary protocol
|