elasticbeat icon indicating copy to clipboard operation
elasticbeat copied to clipboard

Cannot build with go 1.8.1: /main.go:13: cannot use beater.New() (type *beater.Elasticbeat) as type

Open rs18608 opened this issue 7 years ago • 2 comments

Hello, cannot get this to build with "go version go1.8.1 darwin/amd64".

make go build #> ./main.go:13: cannot use beater.New() (type *beater.Elasticbeat) as type "github.com/elastic/beats/libbeat/beat".Creator in argument to "github.com/elastic/beats/libbeat/beat".Run make: *** [build] Error 2

Any ideas?

Thanks, Lynn

rs18608 avatar May 22 '17 19:05 rs18608

Thanks for reporting. Elasticbeat is not compatible with Go1.8 This will be fixed with next releases.

radoondas avatar May 23 '17 13:05 radoondas

Hey @radoondas I have been working on updating this repo to libbeat 6.0 wondering if there would be any interest in me making a PR for it?

kwojcicki avatar Nov 20 '17 23:11 kwojcicki