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:

  1. open /lib/systemd/system/<file|metric|heart>beat.service
  2. zet Environment=“BEAT_LOG_OPTS=-e” in commentaar
  3. reload systemctl config:
    sudo systemctl daemon-reload 
  4. herstart filebeat:
    sudo systemctl restart <file|metric|heart>beat

    nu wordt de logging weggeschreven naar /var/log/<file|metric|heart>beat.log

meer info