====== logging naar syslog uitsschakelen====== [[elk_stack:elk_stack|{{ :elk_stack:icon.jpg?120|}}]] ===== context===== Dit document beschrijft hoe je logging naar syslog uitschakelt voor de beats utilities.\\ Bij standaardinstallatie op systemd-gebaseerde Linux wordt alle output naar **syslog** gestuurd. Dit vervuilt syslog mateloos. Zet dit als volgt uit: - open /lib/systemd/system/beat.service - zet ''Environment="BEAT_LOG_OPTS=-e"'' in commentaar - reload systemctl config: sudo systemctl daemon-reload - herstart filebeat:sudo systemctl restart beat nu wordt de logging weggeschreven naar /var/log/beat.log ===== meer info ===== * [[https://www.elastic.co/guide/en/beats/heartbeat/current/running-with-systemd.html|elastic website]] {{tag>elk_stack}}