From 2ae6fbcf47460b869feca991c8818d285204e1f0 Mon Sep 17 00:00:00 2001 From: Nicolas Ruflin Date: Mon, 16 Jul 2018 12:21:49 +0200 Subject: [PATCH] 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. --- metricbeat/cmd/root.go | 1 + 1 file changed, 1 insertion(+) diff --git a/metricbeat/cmd/root.go b/metricbeat/cmd/root.go index 1fffb83d8b7..13b7c4bf200 100644 --- a/metricbeat/cmd/root.go +++ b/metricbeat/cmd/root.go @@ -28,6 +28,7 @@ import ( // import modules _ "github.com/elastic/beats/metricbeat/include" + _ "github.com/elastic/beats/metricbeat/include/fields" ) // Name of this beat