MetricBeat
wget https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-7.4.1-linux-x86_64.tar.gz
tar xvfz metricbeat-7.4.1-linux-x86_64.tar.gz
vi metricbeat.yml
编辑 metricbeat.yml 如下, 主要是设置 ElasticSearch 的地址
#-------------------------- Elasticsearch output ------------------------------
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["10.224.77.176:9200"]
#============================== Kibana =====================================
# Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.
# This requires a Kibana endpoint configuration.
setup.kibana:
# Kibana Host
# Scheme and port can be left out and will be set to the default (http and 5601)
# In case you specify and additional path, the scheme is required: http://localhost:5601/path
# IPv6 addresses should always be defined as: https://[2001:db8::1]:5601
host: "10.224.77.176:5601"
#============================== Dashboards =====================================
# These settings control loading the sample dashboards to the Kibana index. Loading
# the dashboards is disabled by default and can be enabled either by setting the
# options here or by using the `setup` command.
setup.dashboards.enabled: true
sudo ./metricbeat -e -c metricbeat.yml
启动之后打开 kibana

step 1

step 2

我们可以在 kibana 的 dashboard 中找到 system overview dashboard


本文详细介绍如何下载并配置MetricBeat,通过编辑metricbeat.yml文件设置ElasticSearch和Kibana的地址,实现系统性能数据的收集与展示。启动MetricBeat后,可在Kibana的Dashboard中查看system overview dashboard,监测系统状态。

1071

被折叠的 条评论
为什么被折叠?



