Setup Filebeat
name: "shop"
filebeat.inputs:
- type: log
enabled: true
paths:
- /var/log/apache2/error.log
tags: ["server", "apache"]
- type: log
enabled: true
paths:
- /var/www/html/var/log/*.log
tags: ["shop"]
output.logstash:
hosts: ["logstash:5044"]Last updated
Was this helpful?