-
Install Homebrew https://brew.sh/
-
Install python3 with homebrew
brew install python
-
Install go with Homebrew
brew install golang
-
Install Docker with Homebrew (start it after install, should be in Applications folder)
brew cask install docker
-
Install git with Homebrew
brew install git
-
Install gvm
go get github.com/andrewkroh/gvm
-
Install mage
go get -u -d github.com/magefile/mage cd ~/go/src/github.com/magefile/mage go run bootstrap.go
-
Fork beats repo https://github.com/elastic/beats
-
Clone repo to your Mac (dir ~/go/src/github.com/elastic is required)
mkdir -p ~/go/src/github.com/elastic cd ~/go/src/github.com/elastic git clone git@github.com:mchopda/beats.git
-
Test that you can run pythonIntegTest
cd ~/go/src/github.com/elastic/beats/filebeat eval "$(~/go/bin/gvm `cat ~/go/src/github.com/elastic/beats/.go-version `)" TESTING_FILEBEAT_MODULES=traefik mage -v pythonIntegTest
Last active
April 28, 2020 21:09
-
-
Save leehinman/7e58c889b332cccd3d80f0c7a65f88d4 to your computer and use it in GitHub Desktop.
Setup for Beats work
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment