Skip to content

Instantly share code, notes, and snippets.

@haxorjim
Last active September 17, 2021 16:37
Show Gist options
  • Select an option

  • Save haxorjim/921df8f1f8fa138f14e6566536ae1f95 to your computer and use it in GitHub Desktop.

Select an option

Save haxorjim/921df8f1f8fa138f14e6566536ae1f95 to your computer and use it in GitHub Desktop.
Metricbeat
brew tap elastic/tap
brew install elastic/tap/metricbeat-full
vi /usr/local/etc/metricbeat/metricbeat.yml
#output.logstash:
# hosts: ["elk.local:5044"]
brew services start elastic/tap/metricbeat-full

Setting up Metricbeat

curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
sudo apt update
sudo apt install metricbeat
sudo vi /etc/metricbeat/metricbeat.yml
#output.logstash:
# hosts: ["elk.local:5044"]
sudo systemctl enable metricbeat
sudo service metricbeat start
sudo service metricbeat status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment