fluent-plugin-parse_request_body 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b012fd233c16dec7ddb97702a1d73f9f050c75ab85af6330d0cfe33d2fa45344
|
4
|
+
data.tar.gz: fc297081f810c08b477dec3193cefeca2f24c1f25f43e126f8c43aff729f895f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 614e97185dbd0bd031ce0b2ac17db1f5f85fadb90bb5624b43f5a65d0cf455a9c4c770a55c22ec0cfafbbadc43defb2ea91c628cab4e20c71c85e2cd0e0d1dd6
|
7
|
+
data.tar.gz: 13fe2fd198e9fa434444af715b064b717eab2795719d4a7320cbfeb14f142dcb1b109472f5a589ad25ed48588d6676a55c670aafc6356797a233fcf0f6ea1bf8
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = 'fluent-plugin-parse_request_body'
|
3
|
-
gem.version = '0.0.
|
3
|
+
gem.version = '0.0.5'
|
4
4
|
gem.authors = ['EkiSong']
|
5
5
|
gem.email = ['yifriday0614@gmail.com']
|
6
6
|
gem.homepage = 'https://github.com/yifriday/fluent-plugin-parse_request_body.git'
|
@@ -59,6 +59,11 @@ module Fluent::Plugin
|
|
59
59
|
}
|
60
60
|
end
|
61
61
|
|
62
|
+
def quoted_value?(text)
|
63
|
+
# to improbe compatibility with fluentd v1-config
|
64
|
+
text.match(/(^'.+'$|^".+"$)/)
|
65
|
+
end
|
66
|
+
|
62
67
|
def add_record_field(record)
|
63
68
|
return record if @map.values.first.nil?
|
64
69
|
@map.each do |record_key, value|
|