Filebeat 7.6 installation
1, Filebeat 7.6 installation
# wget https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-7.6.0-amd64.deb
# dpkg -i filebeat-7.6.0-amd64.deb
2, Filebeat Configuration
vim /etc/filebeat/filebeat.yml
filebeat.inputs:
- type: log
enabled: true
paths:
- /storage/*.log
output.logstash:
hosts: ["localhost:5044"]
3, Logstash configuration
# cp /etc/logstash/logstash-sample.conf /etc/logstash/conf.d/filebeat.conf
- Test Configuration
# logstash --path.settings /etc/logstash/ -t
Configuration OK
reference: