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

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

What Else?
inflearn react api server -50% 할인쿠폰: 15108-f2af1e086101 buy me a coffee