目标:实现微服务的归总方便分析
YUMedit
To add the Beats repository for YUM:
-
Download and install the public signing key:
sudo rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch
-
Create a file with a
.repoextension (for example,beats.repo) in your/etc/yum.repos.d/directory and add the following lines:[beats] name=ElasticBeatsRepository baseurl=https://packages.elastic.co/beats/yum/el/$basearch enabled=1 gpgkey=https://packages.elastic.co/GPG-KEY-elasticsearch gpgcheck=1
Your repository is ready to use. For example, you can install Filebeat by running:
sudo yum install filebeat -
To configure the beat to start automatically during boot, run:
sudo chkconfig --add filebeat
rpm -ql filebeat 可以查看安装后的目录。
Logstash 的 repo
-
To configure the beat to start automatically during boot, run:
[logstash-2.3] name=Logstash repository for 2.3.x packages baseurl=https://packages.elastic.co/logstash/2.3/centos gpgcheck=1 gpgkey=https://packages.elastic.co/GPG-KEY-elasticsearch enabled=1
本文介绍如何通过YUM编辑器设置Beats和Logstash的仓库,实现微服务的归总以便进行分析。具体步骤包括导入签名密钥、创建.repo文件及安装配置启动服务。
430

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



