fluent-plugin-aws-sqs 1.0.12 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fluent/plugin/in_sqs.rb +4 -0
- data/lib/fluent/plugin/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 269481eff6a0e60d107fa600384c1f36ffb3ce00a0554a025ff67433629c3d4c
|
4
|
+
data.tar.gz: c1bda287b7e8158318dd0c06ac7e9d2bd9e1c14f24b60e203d53520afb3ac3c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 264d727322d28102670feaa5ed15850d3b7c6b3a05595c954a07866510451144cfc09c81f65c2142b1a676751ae90e4e9eda80cda2ec8e1ad3feda80aec6778e
|
7
|
+
data.tar.gz: 2706aa9ce512259f34ced378820faeaff00ab05edff61215edea411c4f4a484f84a1415779ed885cb1e1702ea5298f6eec4c6e114f5d5a771c144bc085a46994
|
data/lib/fluent/plugin/in_sqs.rb
CHANGED
@@ -85,6 +85,10 @@ module Fluent::Plugin
|
|
85
85
|
}
|
86
86
|
|
87
87
|
if @attribute_name_to_extract.to_s.strip.length > 0
|
88
|
+
print message.attributes[@attribute_name_to_extract].to_s
|
89
|
+
print message.attributes['Component'].to_s
|
90
|
+
print message.attributes['component'].to_s
|
91
|
+
|
88
92
|
record[@attribute_name_to_extract] = message.attributes[@attribute_name_to_extract].to_s
|
89
93
|
record['testing'] = message.attributes['Component'].to_s
|
90
94
|
record['testing2'] = message.attributes['component'].to_s
|