download metric beat
sudo wget https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-6.2.4-x86_64.rpm
sudo rpm -ivh metricbeat-6.2.4-x86_64.rpm
Edit the metric configuration to point to the address of kibana and es
vi /etc/metricbeat/metricbeat.yml
setup.kibana:
host: "192.168.209.160:5601"
output.elasticsearch:
hosts: "192.168.209.160:9200"
under startup
sudo metricbeat setup sudo service metricbeat start
The logstash log has been printed out
kibana edit data index
Sort by time
Data and visualizations and dashboards can now be edited on the left
Enter some data at will in the console
The dashboard will also be updated