{"id":185,"date":"2022-03-04T21:22:03","date_gmt":"2022-03-04T20:22:03","guid":{"rendered":"https:\/\/tillnet.se\/?p=185"},"modified":"2022-03-04T21:22:03","modified_gmt":"2022-03-04T20:22:03","slug":"linux-ubuntu-20-04-logging-to-syslog-server","status":"publish","type":"post","link":"https:\/\/www.tillnet.se\/index.php\/2022\/03\/04\/linux-ubuntu-20-04-logging-to-syslog-server\/","title":{"rendered":"Linux Ubuntu 20.04 logging to syslog-server"},"content":{"rendered":"\n<p>Send logs to a central syslog-server.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>SSH to the machine or directly at terminal.<\/li><li>Install rsyslog<br><code>sudo apt install rsyslog<br>sudo systemctl start rsyslog<\/code><\/li><li>Edit conf<br><code>sudo nano \/etc\/rsyslog.conf<\/code><\/li><li>Add this text (<em>*.*<\/em> @@ip\/fqdn:portnr)<br><code><em>*.*<\/em> @@192.168.1.10:1514<\/code><\/li><li>Restart service<br><code>sudo systemctl restart rsyslog<\/code><\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Send logs to a central syslog-server. SSH to the machine or directly at terminal. Install rsyslogsudo apt install rsyslogsudo systemctl start rsyslog Edit confsudo nano &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-185","post","type-post","status-publish","format-standard","hentry","category-it"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/posts\/185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/comments?post=185"}],"version-history":[{"count":3,"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/posts\/185\/revisions"}],"predecessor-version":[{"id":188,"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/posts\/185\/revisions\/188"}],"wp:attachment":[{"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/media?parent=185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/categories?post=185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tillnet.se\/index.php\/wp-json\/wp\/v2\/tags?post=185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}