====== Filebeat installatie======
[[elk_stack:elk_stack|{{ :elk_stack:icon.jpg?120|}}]]
===== context=====
dit document beschrijft de installatie van Filebeat
===== YUM=====
- installeer filebeat: sudo yum install filebeat
Zie: [[elk_stack:repository|ELK stack repository]] voor de repository settings.
===== configuratie =====
YAML: gevoelig voor spaties, inspringen, etc ...
- open ''/etc/filebeat/filebeat.yml''
- voeg volgende lijn toe aan section __General__: logging.metrics.enabled: false
- configureer ouput settings voor:
- logstash output.logstash:
# The Logstash hosts
#hosts: ["localhost:5044"]
- kibana setup.kibana:
host: ""
- schakel[[elk_stack:logging_naar_syslog_uistschakelen|logging naar syslog uit]]
- activeer [[elk_stack:sample_dashboards_activeren|sample dashboards]]
- bewaar het bestand.
- activeer de system module: sudo filebeat modules enable system
- start filebeat sudo systemctl start filebeat
===== meer info =====
- [[https://www.elastic.co/guide/en/beats/filebeat/7.5/setup-repositories.html|installatie]]
{{tag>elk_stack filebeat}}