diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 6be32d56ea1..25c2020a700 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -242,6 +242,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - Fix handling of `file_selectors` in aws-s3 input. {pull}25792[25792] - Fix ILM alias creation when write alias exists and initial index does not exist {pull}26143[26143] - Include date separator in the filename prefix of `dateRotator` to make sure nothing gets purged accidentally {pull}26176[26176] +- In the script processor, the `decode_xml` and `decode_xml_wineventlog` processors are now available as `DecodeXML` and `DecodeXMLWineventlog` respectively. *Auditbeat* diff --git a/libbeat/processors/decode_xml/decode_xml.go b/libbeat/processors/decode_xml/decode_xml.go index ced399c00fa..ae90e1b2990 100644 --- a/libbeat/processors/decode_xml/decode_xml.go +++ b/libbeat/processors/decode_xml/decode_xml.go @@ -59,7 +59,7 @@ func init() { "to_lower", "ignore_missing", "ignore_failure", ))) - jsprocessor.RegisterPlugin(procName, New) + jsprocessor.RegisterPlugin("DecodeXML", New) } // New constructs a new decode_xml processor. diff --git a/libbeat/processors/decode_xml_wineventlog/processor.go b/libbeat/processors/decode_xml_wineventlog/processor.go index a64c678dfe8..c73ea5ff521 100644 --- a/libbeat/processors/decode_xml_wineventlog/processor.go +++ b/libbeat/processors/decode_xml_wineventlog/processor.go @@ -51,7 +51,7 @@ func init() { "overwrite_keys", "map_ecs_fields", "ignore_missing", "ignore_failure", ))) - jsprocessor.RegisterPlugin(procName, New) + jsprocessor.RegisterPlugin("DecodeXMLWineventlog", New) } type processor struct {