{"id":5755,"date":"2024-03-06T16:49:09","date_gmt":"2024-03-06T22:49:09","guid":{"rendered":"https:\/\/www.incredigeek.com\/home\/?p=5755"},"modified":"2024-03-06T16:53:42","modified_gmt":"2024-03-06T22:53:42","slug":"forward-logs-from-journald-to-rsyslog","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/forward-logs-from-journald-to-rsyslog\/","title":{"rendered":"Forward logs from journald to rsyslog"},"content":{"rendered":"\n<p>Install rsyslog<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">dnf install rsyslog -y<\/pre>\n\n\n\n<p>Edit the journald log.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">vi \/etc\/systemd\/journald.conf<\/pre>\n\n\n\n<p>Add, enable, or modify the following lines.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ForwardToSyslog=yes\nMaxLevelSyslog=debug<\/pre>\n\n\n\n<p>Enable and start rsyslog<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl enable rsyslog<br>systemctl start rsyslog<\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install rsyslog dnf install rsyslog -y Edit the journald log. vi \/etc\/systemd\/journald.conf Add, enable, or modify the following lines. ForwardToSyslog=yes MaxLevelSyslog=debug Enable and start rsyslog systemctl enable rsyslogsystemctl start rsyslog<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,3,22],"tags":[673,1662,7,565,564],"class_list":["post-5755","post","type-post","status-publish","format-standard","hentry","category-fedora-2","category-linux","category-redhat-linux","tag-journalctl","tag-journald","tag-linux-2","tag-rsyslog","tag-syslog"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=5755"}],"version-history":[{"count":4,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5755\/revisions"}],"predecessor-version":[{"id":5759,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5755\/revisions\/5759"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=5755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=5755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=5755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}