fluent-plugin-parse_request_body 0.0.16 → 0.0.17
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: dcc2969f8cabd34a353df3768dbe6d1162b2e004d05f6d5a7431e6f7f25fa394
|
4
|
+
data.tar.gz: 89a170411ee51fd7ad822adb0b758e3dbb541c9930356d4408f1d2cced8c7f3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b3a71e7b7ba789768f4412c9f7f22edbade2a99587da320f1c2c7ff5f9f2e2d1ffd70d9ede0bae283eea0375f538e7af07c2958481a652582be6f88cbfac353
|
7
|
+
data.tar.gz: fe9f1ab785ac80a862569cae659e2438a9443d7936fad9535680a8d1f955a35ecdc2a66b8b4a7cb97e0e029bddbf29d470b664a98c6727d8a40be96f55ac8e42
|
@@ -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.17'
|
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'
|
@@ -64,7 +64,9 @@ module Fluent::Plugin
|
|
64
64
|
def replace_record_by_key(record)
|
65
65
|
return record unless record[@replace_key]
|
66
66
|
replace_value = record[@array_value_key]
|
67
|
-
|
67
|
+
if replace_value && replace_value.to_i
|
68
|
+
record[@replace_key] = replace_value
|
69
|
+
end
|
68
70
|
end
|
69
71
|
|
70
72
|
def have_tag_option?(plugin)
|