CentOS7 安装 Filebeat
下载Filebeat
cd /opt/software/
wget https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.5.1-linux-x86_64.tar.gz
解压
tar -zxvf filebeat-6.5.1-linux-x86_64.tar.gz
重命名
取一个简化的文件名
mv filebeat-6.5.1-linux-x86_64 filebeat
修改配置文件
cd /filebeat
vim filebeat.yml
我们获取一个日志文件的内容,并输出到logstash 的端口上去。
filebeat.inputs:
- type: log
# Change to true to enable this input configuration.
enabled: true
#