URL Decode
The urldecode processor specifies a list of fields to decode from URL encoded format.
In this example, field1 is decoded in field2.
- urldecode:
    fields:
      - from: "field1"
        to: "field2"
    ignore_missing: false
    fail_on_error: true
		
	
		Note
	
	Elastic Agent processors execute before ingest pipelines, which means that your processor configurations cannot refer to fields that are created by ingest pipelines or Logstash. For more limitations, refer to What are some limitations of using processors?
| Name | Required | Default | Description | 
|---|---|---|---|
| fields | Yes | Contains: * from: "source-field", wherefromis the source field name* to: "target-field", wheretois the target field name (defaults to thefromvalue) | |
| ignore_missing | No | false | Whether to ignore missing keys. If true, no error is logged if a key that should be URL-decoded is missing. | 
| fail_on_error | No | true | Whether to fail if an error occurs. If trueand an error occurs, the URL-decoding of fields is stopped, and the original event is returned. Iffalse, decoding continues even if an error occurs during decoding. | 
See Conditions for a list of supported conditions.