Linux Ubuntu 20.04 logging to syslog-server

Send logs to a central syslog-server.

  1. SSH to the machine or directly at terminal.
  2. Install rsyslog
    sudo apt install rsyslog
    sudo systemctl start rsyslog
  3. Edit conf
    sudo nano /etc/rsyslog.conf
  4. Add this text (*.* @@ip/fqdn:portnr)
    *.* @@192.168.1.10:1514
  5. Restart service
    sudo systemctl restart rsyslog