fluent-plugin-sumologic-mattk42 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-sumologic.gemspec +1 -1
- data/lib/fluent/plugin/out_sumologic.rb +7 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 885e4f1f640c0156d126854bff666763a47d9e2e
|
4
|
+
data.tar.gz: a1aa7318781fac641efa2430b65fe8efda59241e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c637305d2f361ed7ceb0d0ebf86ae51705365ab566984a81cf2b2cac3cbbce08f392ba643a642b96067f42b29982556b7c0e10d7857442a510970c4464d41efd
|
7
|
+
data.tar.gz: 52a7dffa1925b56ae321ab29fc3730cb350befda86bc3f64005fb3e81a14d074ff8616a2a4ff405d7f9f5d475718b301062dfd57b0f48bfb4ae9f0395864d209
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "fluent-plugin-sumologic-mattk42"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.4"
|
8
8
|
spec.authors = ["mattk42"]
|
9
9
|
spec.email = ["matt1988@gmail.com"]
|
10
10
|
spec.description = %q{fluent plugin for sumologic}
|
@@ -53,7 +53,13 @@ class Fluent::SumologicOutput< Fluent::BufferedOutput
|
|
53
53
|
source_name = record[@source_name_key] || ''
|
54
54
|
record.delete(@source_name_key)
|
55
55
|
messages_list[source_name] = [] unless messages_list[source_name]
|
56
|
-
|
56
|
+
|
57
|
+
begin
|
58
|
+
messages_list[source_name] << record.to_json
|
59
|
+
rescue Encoding::UndefinedConversionError
|
60
|
+
next
|
61
|
+
end
|
62
|
+
|
57
63
|
end
|
58
64
|
when 'text'
|
59
65
|
chunk.msgpack_each do |tag, time, record|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-sumologic-mattk42
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mattk42
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|