fluent-plugin-cloudwatch-ingest 0.5.0 → 0.5.2
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49c79872d6729d7ef80686c8daf4c60239b0130d
|
4
|
+
data.tar.gz: 91eb388afab803df1796768f4b33afb9f93c77b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb217a38b4ce7cdf9878496b8326fb166c6609f44c8e04fc35ba289eb9a1a021c108c204b563d832ce23b4631851a2938fb0d32646a5446f0e99cf2a94ff8eb1
|
7
|
+
data.tar.gz: 88c5025fb7f34e2d45e75e83fb805d74a6c3cb54928d4f6e28bfbf660fbd19387f3fe1da243a06f8789581ea5e52b059598b1f99d9a4fef95fa459bf4e2d41a8
|
@@ -34,7 +34,10 @@ module Fluent
|
|
34
34
|
# Optionally attempt to parse the body as json
|
35
35
|
if @parse_json_body
|
36
36
|
begin
|
37
|
-
|
37
|
+
json_body = MultiJson.load(record)
|
38
|
+
json_body.each_pair do |k, v|
|
39
|
+
record[k.to_s] = v.to_s
|
40
|
+
end
|
38
41
|
rescue MultiJson::ParseError
|
39
42
|
if @fail_on_unparsable_json
|
40
43
|
yield nil, nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-cloudwatch-ingest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Pointer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|