Last active
September 17, 2021 16:37
-
-
Save haxorjim/921df8f1f8fa138f14e6566536ae1f95 to your computer and use it in GitHub Desktop.
Metricbeat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo pacman -S metricbeat | |
sudo vi /etc/metricbeat/metricbeat.yml | |
#output.logstash: | |
# hosts: ["elk.local:5044"] | |
sudo systemctl enable metricbeat | |
sudo systemctl start metricbeat | |
sudo systemctl status metricbeat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 systemctl metricbeat start | |
sudo systemctl status metricbeat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.elastic.co/downloads/beats/metricbeat | |
cd 'C:\Program Files\Metricbeat' | |
notepad metricbeat.yml | |
#output.logstash: | |
# hosts: ["elk.local:5044"] | |
PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-metricbeat.ps1 | |
Start-Service metricbeat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment