diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 6bbc77f3036..4c6d1d2da2b 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -160,6 +160,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - Add FIPS configuration option for all AWS API calls. {pull}28899[28899] - Add `default_region` config to AWS common module. {pull}29415[29415] - Add support for latest k8s versions v1.23 and v1.22 {pull}29575[29575] +- Add `script` processor to all beats {issue}29269[29269] {pull}29752[29752] - Only connect to Elasticsearch instances with the same version or newer. {pull}29683[29683] - Move umask from code to service files. {pull}29708[29708] diff --git a/filebeat/cmd/root.go b/filebeat/cmd/root.go index 2b9bff54629..1a17e64cdbb 100644 --- a/filebeat/cmd/root.go +++ b/filebeat/cmd/root.go @@ -28,7 +28,6 @@ import ( "github.com/elastic/beats/v7/libbeat/cmd/instance" // Import processors. - _ "github.com/elastic/beats/v7/libbeat/processors/script" _ "github.com/elastic/beats/v7/libbeat/processors/timestamp" ) diff --git a/heartbeat/beater/heartbeat.go b/heartbeat/beater/heartbeat.go index 0e499ce6f85..003f4da5934 100644 --- a/heartbeat/beater/heartbeat.go +++ b/heartbeat/beater/heartbeat.go @@ -37,7 +37,6 @@ import ( "github.com/elastic/beats/v7/libbeat/management" _ "github.com/elastic/beats/v7/heartbeat/security" - _ "github.com/elastic/beats/v7/libbeat/processors/script" ) // Heartbeat represents the root datastructure of this beat. diff --git a/libbeat/cmd/instance/imports_common.go b/libbeat/cmd/instance/imports_common.go index 724919364db..aa298984f94 100644 --- a/libbeat/cmd/instance/imports_common.go +++ b/libbeat/cmd/instance/imports_common.go @@ -38,6 +38,7 @@ import ( _ "github.com/elastic/beats/v7/libbeat/processors/fingerprint" _ "github.com/elastic/beats/v7/libbeat/processors/ratelimit" _ "github.com/elastic/beats/v7/libbeat/processors/registered_domain" + _ "github.com/elastic/beats/v7/libbeat/processors/script" _ "github.com/elastic/beats/v7/libbeat/processors/translate_sid" _ "github.com/elastic/beats/v7/libbeat/processors/urldecode" _ "github.com/elastic/beats/v7/libbeat/publisher/includes" // Register publisher pipeline modules diff --git a/metricbeat/cmd/root.go b/metricbeat/cmd/root.go index 50724cd10bd..9adbd0542a7 100644 --- a/metricbeat/cmd/root.go +++ b/metricbeat/cmd/root.go @@ -33,9 +33,6 @@ import ( // import modules _ "github.com/elastic/beats/v7/metricbeat/include" _ "github.com/elastic/beats/v7/metricbeat/include/fields" - - // Import processors. - _ "github.com/elastic/beats/v7/libbeat/processors/script" ) const ( diff --git a/winlogbeat/cmd/root.go b/winlogbeat/cmd/root.go index 3326e768d9e..7bd35f1597d 100644 --- a/winlogbeat/cmd/root.go +++ b/winlogbeat/cmd/root.go @@ -29,7 +29,6 @@ import ( _ "github.com/elastic/beats/v7/winlogbeat/include" // Import processors and supporting modules. - _ "github.com/elastic/beats/v7/libbeat/processors/script" _ "github.com/elastic/beats/v7/libbeat/processors/timestamp" )