fluent-plugin-parse_request_body 0.0.14 → 0.0.15

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a3e73e8d7e0e4783dc72387e588255dbdcaaeb292ef9faeca0e1466a0d951431
4
- data.tar.gz: e5de260738441042c950dfcd6f2a314ce0136fa1aaea899bfc4deba4e6dabde3
3
+ metadata.gz: 58a5e18dbe4c7791a652d832a200a7d2338a370b29f055590f7f28a39e1310d3
4
+ data.tar.gz: b73facd81747ff81e5ad2a8b8ca6aa193f1d014dd3e6d6e13d908a52c99c13ff
5
5
  SHA512:
6
- metadata.gz: f03a057e3e8b0934d2046272e8374bccfc45ff1522bdefa2d9ac6b66afe3a9a799303b8914c0bb6fdb6e43ad5775149b36c5aed06c82b23f792e5be823cdab2f
7
- data.tar.gz: 1c13b12f5d534d3dcc5ad04a489267f27fa2b276066070489b8dba2cfde5b4cbbe8effb0daf681b40db689f75f80e4f6258ee382a6095b04844c5d0cd7f86e1f
6
+ metadata.gz: 0b555c8a8461603ef41e604c5647acba50566203e10b3c8b1bc9ebccd6bff499dd6a2d3a4e41f055a05dddeb98117f015810fd841c518f916eec2f7afb3b08b7
7
+ data.tar.gz: c2e0c725ea0746faecc2509342880b45c0d20bd35127242db8b44b84f619f358c0c764b7f91bbb9c13caa25441e4c1940ac47edf0eedcb299d70bcab649f119d
@@ -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.14'
3
+ gem.version = '0.0.15'
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'
@@ -6,8 +6,10 @@ module Fluent::Plugin
6
6
 
7
7
  Fluent::Plugin.register_filter('parse_request_body', self)
8
8
 
9
- desc "point a key whose value contains URL string."
9
+ desc "point a key whose value contains body string."
10
10
  config_param :key, :string
11
+ desc "point a key who will be replaced."
12
+ config_param :replace_key, :string, default: nil
11
13
  desc "If set, the key/value will be reformd array whose would be added to the record."
12
14
  config_param :array_value, :string, default: nil
13
15
  desc "array_value's key in record"
@@ -9,8 +9,10 @@ module Fluent::Plugin
9
9
 
10
10
  helpers :event_emitter
11
11
 
12
- desc "point a key whose value contains URL string."
12
+ desc "point a key whose value contains body string."
13
13
  config_param :key, :string
14
+ desc "point a key who will be replaced."
15
+ config_param :replace_key, :string, default: nil
14
16
  desc "If set, the key/value will be reformd array whose would be added to the record."
15
17
  config_param :array_value, :string, default: nil
16
18
  desc "array_value's key in record"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-parse_request_body
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - EkiSong