diff --git a/x-pack/elastic-agent/CHANGELOG.next.asciidoc b/x-pack/elastic-agent/CHANGELOG.next.asciidoc index c14a4e7b42b..d434fdb3f40 100644 --- a/x-pack/elastic-agent/CHANGELOG.next.asciidoc +++ b/x-pack/elastic-agent/CHANGELOG.next.asciidoc @@ -96,6 +96,7 @@ - Allow ':' characters in dynamic variables. {pull}32407[32407] - Allow the - char to appear as part of variable names in eql expressions. {pull}32350[32350] - Allow the / char to appear as part of variable names in eql expressions. {pull}32528{32528} +- Fix add_fields processor on Docker provider {pull}33269{33269} ==== New features diff --git a/x-pack/elastic-agent/pkg/composable/providers/docker/docker.go b/x-pack/elastic-agent/pkg/composable/providers/docker/docker.go index ad49bac6288..ea7cc4881e8 100644 --- a/x-pack/elastic-agent/pkg/composable/providers/docker/docker.go +++ b/x-pack/elastic-agent/pkg/composable/providers/docker/docker.go @@ -145,7 +145,7 @@ func generateData(event bus.Event) (*dockerContainerData, error) { "image": container.Image, "labels": processorLabelMap, }, - "to": "container", + "target": "container", }, }, }, diff --git a/x-pack/elastic-agent/pkg/composable/providers/docker/docker_test.go b/x-pack/elastic-agent/pkg/composable/providers/docker/docker_test.go index 55cf2f3a238..417e53c5638 100644 --- a/x-pack/elastic-agent/pkg/composable/providers/docker/docker_test.go +++ b/x-pack/elastic-agent/pkg/composable/providers/docker/docker_test.go @@ -53,7 +53,7 @@ func TestGenerateData(t *testing.T) { "co_elastic_logs/disable": "true", }, }, - "to": "container", + "target": "container", }, }, }