作者:finessi_739 | 来源:互联网 | 2023-05-18 00:11
环境:OS:Centos7.6JDK:1.8.0_91下载地址:https:artifacts.elastic.codownloadsbeatsheartbeatheartbeat
环境:
OS: Centos 7.6
JDK: 1.8.0_91
下载地址:
https://artifacts.elastic.co/downloads/beats/heartbeat/heartbeat-7.4.2-linux-x86_64.tar.gz
https://artifacts.elastic.co/downloads/beats/packetbeat/packetbeat-7.4.2-linux-x86_64.tar.gz
https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-7.4.2-linux-x86_64.tar.gz
https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-7.4.2-linux-x86_64.tar.gz
https://artifacts.elastic.co/downloads/logstash/logstash-7.4.2.tar.gz
https://artifacts.elastic.co/downloads/kibana/kibana-7.4.2-linux-x86_64.tar.gz
https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.4.2-linux-x86_64.tar.gz
安装Metricbeat
tar -xzvf metricbeat-7.4.2-linux-x86_64.tar.gz
cd metricbeat-7.4.2-linux-x86_64/
#从Metricbeat安装目录,启用系统模块:
./metricbeat modules enable system
#设置初始环境
./metricbeat setup -e
#setup命令加载Kibana仪表板。如果仪表板已经设置好,则省略此命令。e标志是可选的,并将输出发送到标准错误,而不是syslog。
#启动Metricbeat
./metricbeat -e
要了解关于安装和配置其他Beat的更多信息,请参阅入门文档:
Elastic Beats |
To capture |
Auditbeat |
Audit data |
Filebeat |
Log files |
Heartbeat |
Availability monitoring |
Metricbeat |
Metrics |
Packetbeat |
Network traffic |
Winlogbeat |
Windows event logs |