Functionbeat reached End of Support on October 18, 2023. You must consider
moving your deployments to the more versatile and efficient Elastic Serverless
Forwarder.
URL Decode
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
URL Decode
editThe urldecode processor specifies a list of fields to decode from URL encoded format. Under the fields
key, each entry contains a from: source-field and a to: target-field pair, where:
-
fromis the source field name -
tois the target field name (defaults to thefromvalue)
processors:
- urldecode:
fields:
- from: "field1"
to: "field2"
ignore_missing: false
fail_on_error: true
In the example above:
- field1 is decoded in field2
The urldecode processor has the following configuration settings:
-
ignore_missing -
(Optional) If set to true, no error is logged in case a key
which should be URL-decoded is missing. Default is
false. -
fail_on_error -
(Optional) If set to true, in case of an error the URL-decoding
of fields is stopped and the original event is returned. If set to false, decoding
continues also if an error happened during decoding. Default is
true.
See Conditions for a list of supported conditions.