C9. filebeat - lyonwang/TechNotes GitHub Wiki
filebeat
Install on CentOS 7
Download and install the public signing key
sudo rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch
Create yum repo
- /etc/yum.repos.d/elastic.repo
sudo vim /etc/yum.repos.d/elastic.repo
[elastic-6.x]
name=Elastic repository for 6.x packages
baseurl=https://artifacts.elastic.co/packages/6.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
- make sure version 6.2.3 does exist
sudo yum list filebeat-6.2.3
sudo yum install filebeat-6.2.3 -y
- To configure the Beat to start automatically during boot
sudo chkconfig --add filebeat