{"id":61,"date":"2023-09-28T21:59:22","date_gmt":"2023-09-28T14:59:22","guid":{"rendered":"http:\/\/nitirat.ddns.net\/wordpress\/?p=61"},"modified":"2024-05-07T21:24:31","modified_gmt":"2024-05-07T14:24:31","slug":"how-to-send-linux-logs-to-a-remote-server-the-client-side","status":"publish","type":"post","link":"http:\/\/nitirat.ddns.net\/wordpress\/?p=61","title":{"rendered":"How to Send Linux Logs to a Remote Server: The Client Side"},"content":{"rendered":"\n<p>The software used to send logs remotely is rsyslog, it comes by default on Debian and derived Linux distributions, in case you don\u2019t have it run:<em>#&nbsp;<\/em><\/p>\n\n\n\n<p>sudo&nbsp;apt&nbsp;install&nbsp;rsyslog<\/p>\n\n\n\n<p>You can always check the rsyslog state by running:<em>#&nbsp;<\/em><\/p>\n\n\n\n<p>sudo&nbsp;service rsyslog status<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2020\/01\/1-49.png\"><img decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2020\/01\/1-49.png\" alt=\"\" class=\"wp-image-53995\"\/><\/a><\/figure>\n\n\n\n<p>On the client sending logs to add the following line, replacing the IP 18.223.3.241 for your server IP.<\/p>\n\n\n\n<p>*.*&nbsp;@@18.223.3.241:514<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2020\/01\/8-36.png\"><img decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2020\/01\/8-36.png\" alt=\"\" class=\"wp-image-54003\"\/><\/a><\/figure>\n\n\n\n<p>Exit and save changes by pressing CTRL +X.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The software used to send logs remotely is rsyslog, it comes by default on Debian and derived Linux distributions, in case you don\u2019t have it run:#&nbsp; sudo&nbsp;apt&nbsp;install&nbsp;rsyslog You can always check the rsyslog state by running:#&nbsp; sudo&nbsp;service rsyslog status On the client sending logs to add the following line, replacing the IP 18.223.3.241 for your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":119,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[6],"tags":[],"class_list":["post-61","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu"],"_links":{"self":[{"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/61","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=61"}],"version-history":[{"count":1,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":62,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/61\/revisions\/62"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/119"}],"wp:attachment":[{"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}