fluent-plugin-s3-input 0.0.13 → 0.0.14
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/Gemfile.lock +6 -6
- data/fluent-plugin-s3-input.gemspec +1 -1
- data/lib/fluent/plugin/out_s3_input.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4e9281ad1ed41acfd3f4fa6be41ce1ddca95db46
|
|
4
|
+
data.tar.gz: ffa18c1d5361dfb23467ab92e1e2189c0794249d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc9ed579b0c05cfcf429590643ca2b99b1631d7989c87d68d45589943b1b2873a9d8768062edd32df25bc5e9a6495fddf200ef174ffc35412fca0c48a25afe0c
|
|
7
|
+
data.tar.gz: 64bed5a2626ede7150158f17b1c23763a2fac85239f2420ee5809ebaf753c0ec64301948bbff1eb2db2c199199794648b84d8bad6f39768f81cecb6c2a8e9e83
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
fluent-plugin-s3-input (0.0.
|
|
4
|
+
fluent-plugin-s3-input (0.0.14)
|
|
5
5
|
aws-sdk
|
|
6
6
|
fluentd
|
|
7
7
|
oj
|
|
@@ -10,13 +10,13 @@ PATH
|
|
|
10
10
|
GEM
|
|
11
11
|
remote: https://rubygems.org/
|
|
12
12
|
specs:
|
|
13
|
-
aws-sdk (2.9.
|
|
14
|
-
aws-sdk-resources (= 2.9.
|
|
15
|
-
aws-sdk-core (2.9.
|
|
13
|
+
aws-sdk (2.9.25)
|
|
14
|
+
aws-sdk-resources (= 2.9.25)
|
|
15
|
+
aws-sdk-core (2.9.25)
|
|
16
16
|
aws-sigv4 (~> 1.0)
|
|
17
17
|
jmespath (~> 1.0)
|
|
18
|
-
aws-sdk-resources (2.9.
|
|
19
|
-
aws-sdk-core (= 2.9.
|
|
18
|
+
aws-sdk-resources (2.9.25)
|
|
19
|
+
aws-sdk-core (= 2.9.25)
|
|
20
20
|
aws-sigv4 (1.0.0)
|
|
21
21
|
cool.io (1.5.0)
|
|
22
22
|
fluentd (0.14.16)
|
|
@@ -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-s3-input"
|
|
7
|
-
spec.version = "0.0.
|
|
7
|
+
spec.version = "0.0.14"
|
|
8
8
|
spec.authors = ["Anthony Johnson"]
|
|
9
9
|
spec.email = ["ansoni@gmail.com"]
|
|
10
10
|
spec.description = %q{Fluentd plugin to read a file from S3 and emit it}
|
|
@@ -94,7 +94,9 @@ module Fluent
|
|
|
94
94
|
begin
|
|
95
95
|
s3_record = Oj.load(json_data)
|
|
96
96
|
rescue Oj::ParseError=>e
|
|
97
|
-
puts "
|
|
97
|
+
puts "Failure parsing: "
|
|
98
|
+
puts json_data.to_s
|
|
99
|
+
puts "Error: #{e.to_s}"
|
|
98
100
|
end
|
|
99
101
|
elsif @format == 'csv'
|
|
100
102
|
data = input.read
|