Metricbeat
cd ~/local
wget https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-6.1.2-linux-x86_64.tar.gz
tar xvfz metricbeat-6.1.2-linux-x86_64.tar.gz
ln -s metricbeat-6.1.2-linux-x86_64 metricbeat
cd metricbeat
run
- change metricbeat.yml permission
sudo chown root metricbeat.yml
sudo ./metricbeat -e -c metricbeat.yml
sudo ./metricbeat -e -c metricbeat.yml -d "publish"
Import Kibana dashboard
./scripts/import_dashboards
Apache module
metricbeat.modules:
- module: apache
metricsets: ["status"]
enabled: true
period: 10s
# Apache hosts
hosts: ["http://127.0.0.1"]
ref