Skip to content

Commit

Permalink
Add missing libbeat fields to imports in Metricbeat (elastic#7605)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ruflin authored and exekias committed Jul 16, 2018
1 parent 5a35f8d commit 2ae6fbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metricbeat/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (

// import modules
_ "github.com/elastic/beats/metricbeat/include"
_ "github.com/elastic/beats/metricbeat/include/fields"
)

// Name of this beat
Expand Down

0 comments on commit 2ae6fbc

Please sign in to comment.