Missing fields option in filebeat xml_decode

Hi.
We are facing issues configuring xml_decode in Filebeat version 7.12.0:

 instance/beat.go:971    Exiting: Failed to start crawler: starting input failed: Error while initializing input: missing fields option in filebeat.inputs.0.processors.0.decode_xml
Exiting: Failed to start crawler: starting input failed: Error while initializing input: missing fields option in filebeat.inputs.0.processors.0.decode_xml

Filebeat.input:

filebeat.inputs:
    - type: log
      paths:
        - /dumps/**
      processors:
        - decode_xml:
            field: message
            target_field: xml
            ignore_missing: true
            ignore_failure: true