websec-parse-query-params-batch
Split the URL query string of each input row into key and value pairs.
Each side is URL decoded, duplicate keys are kept in order, and a key without = has a null value. With explode=t, outputs one row per parameter.
websec-parse-query-params-batch [field=VALUE] [explode=VALUE]
- field=VALUE
- Optional. Field holding the query string. Default is query.
- explode=VALUE
- Optional. t to output one row per parameter with param_key and param_value, f to add the params list. Default is f.
Output fields
| Field | Type | Name | Description |
|---|---|---|---|
| params | List | Parameters | Without explode, list of {key, value}, e.g. [{key: page, value: 2}, {key: sort, value: asc}] |
| param_key | String | Parameter key | With explode=t, decoded key, e.g. page |
| param_value | String | Parameter value | With explode=t, decoded value, e.g. 2 |