elk_stack:logging_naar_syslog_uistschakelen
Table of Contents
logging naar syslog uitsschakelen
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/<file|metric|heart>beat.service
- zet
Environment=“BEAT_LOG_OPTS=-e”
in commentaar - reload systemctl config:
sudo systemctl daemon-reload
- herstart filebeat:
sudo systemctl restart <file|metric|heart>beat
nu wordt de logging weggeschreven naar /var/log/<file|metric|heart>beat.log
meer info
elk_stack/logging_naar_syslog_uistschakelen.txt · Last modified: 2020/03/18 13:53 by koen