fluent-plugin-mutate_filter 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-mutate_filter.gemspec +1 -1
- data/lib/fluent/plugin/filter_mutate.rb +2 -2
- 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: b62e71fa0e42bfdddfff9ee0a75b88ce83e5f008e957e9d28ba699c0b6484c79
|
4
|
+
data.tar.gz: 38f74b3983f1ff7cf747d2b5cfa285f9e872f598bbbce009b0befa40e5453d23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cff2b2dc326bb7206d50aed7ba06996f933c65cc7b92f209d1aa8d6af9e6ff4e53531cde98c873fc1620d6e95399ee368b12048041cbd4ae4edcbc8f21e340b5
|
7
|
+
data.tar.gz: 69dc0965b3a89f8a6498809931858771cb49c3dc2954b8aab15911619992b8bb2cb5407b6fb72487c9ca0a66c79ba006c2f7ed0e0aee417cf0161c1f98604b2f
|
@@ -439,8 +439,8 @@ module Fluent
|
|
439
439
|
next
|
440
440
|
end
|
441
441
|
|
442
|
-
if value.start_with?('{') and value.
|
443
|
-
or value.start_with?('[') and value.
|
442
|
+
if value.start_with?('{') and value.end_with?('}') \
|
443
|
+
or value.start_with?('[') and value.end_with?(']')
|
444
444
|
value = JSON.load(value)
|
445
445
|
event.set(field, value)
|
446
446
|
end
|