Skip to content

Commit 2ae6fbc

Browse files
ruflinexekias
authored andcommitted
Add missing libbeat fields to imports in Metricbeat (#7605)
Even though the fields from libbeat were loaded into Golang code, the code was never added to the binary as the import was missing. This meant the libbeat fields did not end up in the template.
1 parent 5a35f8d commit 2ae6fbc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

metricbeat/cmd/root.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import (
2828

2929
// import modules
3030
_ "github.com/elastic/beats/metricbeat/include"
31+
_ "github.com/elastic/beats/metricbeat/include/fields"
3132
)
3233

3334
// Name of this beat

0 commit comments

Comments
 (0)