Lou’s Lab

Voor ik verga tot stof en as, wil ik weten hoe de wereld was (RvhG)

User Tools

Site Tools


elk_stack:logging_naar_syslog_uistschakelen

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

elk_stack/logging_naar_syslog_uistschakelen.txt · Last modified: 2020/03/18 13:53 by koen