Disclaimer: I am a total noob in Go.
When running from Getting Ready section in Developpers's guide:
go get github.com/elastic/beats
I have the following error:
package github.com/elastic/beats: no buildable Go source files in <GOPATH>/src/github.com/elastic/beats
I succeeded build topbeat by making
go get github.com/elastic/beats/topbeat
After having installed all dependencies (see error trace when trying to built it the first time to know what to go get).
There where also an error concerning sigar/gosigar. I just added "sigar" aliases in topbeat.go (l10) and sigar.go (l8)
steffens
(Steffen Siering)
February 16, 2016, 4:47pm
3
we've vendored all dependencies in github.com/elastic/beats repository. You need to run export GO15VENDOREXPERIMENT=1
before running make.
ruflin
(ruflin)
February 16, 2016, 5:26pm
4
I opened an issue here to add this to the developer guide: https://github.com/elastic/beats/issues/983