Open berrytchaks opened 7 years ago
Thanks for reporting this. Which version of Go are you running?
Thanks for the reply, I'm using
go version go1.8 linux/amd64
Hmm, Beats is still working with Go 1.7.1 if memory serves. Spring beat should work with that version.
I just gave it another try and here is what I get now
beatuser@host:~/goworkspace/src/github.com/consulthys/springbeat$ make
go build
# github.com/consulthys/springbeat/beater
beater/springbeat.go:29: undefined: common.Config
beater/springbeat.go:80: cannot use bt (type *Springbeat) as type beat.Beater in return argument:
*Springbeat does not implement beat.Beater (missing Cleanup method)
beater/springbeat.go:86: b.Publisher.Connect undefined (type *publisher.PublisherType has no field or method Connect)
beater/springbeat.go:163: bt.client.Close undefined (type publisher.Client has no field or method Close)
make: *** [build] Error 2
Are you using the latest Beats version? If yes, that's probably the reason as I haven't yet upgraded springbeat to use the latest Beats.
Are you using the latest Beats version?
Yes
If I have to downgrade the beat version, which version will be the most adequate? Thanks.
I think it was Beats 5.0.1 at the time. You can give it a shot, but I'll have to update all my Beats very soon anyway
The instructions assumed a fully functioning GO environment and even then the build breaks as others indicate. I wonder what is the difference between this and other beats products where you just download the package (instead of making it) and execute it?. I have been using filebeat and heartbeat with no issue on Mac OSX, this somehow seemed impossible!.
Hi,
Nice job for the beat. I built this beat and I got the following
Any clue? Thanks.