I am trying to setup and build the filebeat in our mac (OS: High Seria version: 10.13.6). But unfortunately, unable to run the code and debug. can you please help me on this.
I download the GOLang and setup, after that, I clone the beats code from github and try to build this code for debugging. getting error:
cannot find package "github.com/elastic/beats/filebeat/cmd" in any of:
/Users/user01/Desktop/Go_Workspace/src/beats/vendor/github.com/elastic/beats/filebeat/cmd (vendor tree)
/usr/local/go/src/github.com/elastic/beats/filebeat/cmd (from $GOROOT)
/Users/user01/Desktop/Go_Workspace/src/github.com/elastic/beats/filebeat/cmd (from $GOPATH)
can you please help me on that, and guide me to build and debug the code.