{"id":1566,"date":"2026-08-26T16:41:51","date_gmt":"2026-08-26T12:41:51","guid":{"rendered":"https:\/\/domen-hosting.net\/help\/ru\/?p=1566"},"modified":"2026-08-26T16:43:22","modified_gmt":"2026-08-26T12:43:22","slug":"kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux","status":"publish","type":"post","link":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html","title":{"rendered":"\u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Rsyslog \u0432 AlmaLinux"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-2836 \" src=\"https:\/\/domen-hosting.net\/help\/wp-content\/uploads\/2026\/08\/rsyslog-300x300.png\" alt=\"\" width=\"214\" height=\"214\" \/> <a href=\"https:\/\/github.com\/rsyslog\/rsyslog\" title=\"Rsyslog \u043d\u0430 Wiki\" rel=\"noopener nofollow \" target=\"_blank\">Rsyslog<\/a> &#8212; \u044d\u0442\u043e \u0434\u0435\u043c\u043e\u043d (\u0441\u0435\u0440\u0432\u0438\u0441), \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0434\u043b\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0438 \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u0439. \u041e\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0442 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u043f\u043e \u043d\u0443\u0436\u043d\u044b\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c \u0438 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0444\u0430\u0439\u043b\u044b \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432.<\/p>\n<p>\u041e\u0434\u043d\u0438\u043c \u0438\u0437 \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0445 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432 Rsyslog \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0440\u0430\u0432\u0438\u043b \u0438 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c, \u043a\u0443\u0434\u0430 \u0438\u0445 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0438 \u043a\u0430\u043a\u0438\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u044b \u043f\u0435\u0440\u0435\u0441\u044b\u043b\u0430\u0442\u044c \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u044b. Rsyslog \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u043a\u0430\u043a \u0441 UDP, \u0442\u0430\u043a \u0438 \u0441 TCP, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439 \u043a \u043d\u0430\u0434\u0451\u0436\u043d\u043e\u0441\u0442\u0438 \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>\u041f\u043e\u043c\u0438\u043c\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Rsyslog \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u0440\u0443\u0433\u0438\u0435 Linux-\u0441\u0435\u0440\u0432\u0435\u0440\u044b \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u043b\u043e\u0433\u0438. \u042d\u0442\u043e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0432 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u0445 \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439 \u043f\u043e \u0437\u0430\u0449\u0438\u0442\u0435 \u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. \u0425\u0440\u0430\u043d\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u044b \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u043c\u043e\u0436\u043d\u043e \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u043c \u043a \u043d\u0438\u043c, \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0440\u043e\u043a \u0438\u0445 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0440\u043e\u0442\u0430\u0446\u0438\u044e. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0447\u0430\u0441\u0442\u044c\u044e \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u0430 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043c\u0435\u0440 \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439 GDPR \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u043e\u043b\u0438\u0442\u0438\u043a \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>\u0414\u043b\u044f \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/domen-hosting.net\/vps.html\" title=\"\u0442\u0430\u0440\u0438\u0444\u044b SSD VPS\" rel=\"noopener\" target=\"_blank\">\u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 SSD VPS<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/domen-hosting.net\/dedicated_all.html\" title=\"\u0430\u0440\u0435\u043d\u0434\u0430 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432\" rel=\"noopener\" target=\"_blank\">\u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 SSD<\/a> &#8212; \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432, \u043e\u0431\u044a\u0435\u043c\u0430 \u043b\u043e\u0433\u043e\u0432 \u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439 \u043a \u0434\u0438\u0441\u043a\u043e\u0432\u043e\u043c\u0443 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0443.<\/p>\n<p>\u0412 \u044d\u0442\u043e\u043c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u043c\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c AlmaLinux \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0433\u043e Rsyslog-\u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u043a\u0430\u0436\u0435\u043c, \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u043d\u0430 \u043d\u0435\u0433\u043e.<\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0445\u0435\u043c\u043e\u0439:<\/p>\n<p><strong>192.168.10.10<\/strong> &#8212; \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 Rsyslog-\u0441\u0435\u0440\u0432\u0435\u0440<br \/>\n\u2514\u2500\u2500 <strong>192.168.10.41<\/strong> &#8212; (\u041a\u043b\u0438\u0435\u043d\u0442 1)<\/p>\n<p>\u041d\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u044b \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d \u0431\u0443\u0434\u0443\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435:<\/p>\n<p><strong>\/var\/log\/servers\/&lt;IP-\u0430\u0434\u0440\u0435\u0441-\u043a\u043b\u0438\u0435\u043d\u0442\u0430&gt;\/<\/strong><\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<p><strong>\/var\/log\/servers\/192.168.10.41\/<\/strong><\/p>\n<p>\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e Rsyslog \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043f\u043e\u0440\u0442 514 \u0434\u043b\u044f Syslog. \u0412 \u044d\u0442\u043e\u043c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u044b \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c UDP, \u0430 \u0432 \u043a\u043e\u043d\u0446\u0435 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u043a\u0430\u0436\u0435\u043c, \u043a\u0430\u043a \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 TCP.<\/p>\n<h2 style=\"text-align: center;\">\u0427\u0442\u043e \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f<\/h2>\n<p>\u041f\u0435\u0440\u0435\u0434 \u043d\u0430\u0447\u0430\u043b\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u0443\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c:<\/p>\n<ul>\n<li>\u0434\u0432\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438\u043b\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0448\u0438\u043d\u044b \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c AlmaLinux;<\/li>\n<li>root-\u0434\u043e\u0441\u0442\u0443\u043f \u0438\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 sudo \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u043c\/\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c \u043c\u0430\u0448\u0438\u043d\u0430\u043c.<\/li>\n<\/ul>\n<p>\u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c:<\/p>\n<p><strong>Rsyslog-\u0441\u0435\u0440\u0432\u0435\u0440: 192.168.10.10<\/strong><br \/>\n(\u0421\u0435\u0440\u0432\u0435\u0440, \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u0436\u0443\u0440\u043d\u0430\u043b\u044b \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u043e\u0442 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432)<br \/>\n<strong>\u041a\u043b\u0438\u0435\u043d\u0442: 192.168.10.41<\/strong><br \/>\n(\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u0432\u043e\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u044b \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u043d\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 Rsyslog-\u0441\u0435\u0440\u0432\u0435\u0440)<\/p>\n<p>\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u0435 \u044d\u0442\u0438 \u0430\u0434\u0440\u0435\u0441\u0430 \u043d\u0430 \u0442\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0432 \u0432\u0430\u0448\u0435\u0439 \u0441\u0435\u0442\u0438.<\/p>\n<h2 style=\"text-align: center;\">\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 Rsyslog-\u0441\u0435\u0440\u0432\u0435\u0440<\/h2>\n<h3>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Rsyslog \u043d\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435<\/h3>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c Rsyslog \u043d\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 AlmaLinux.<\/p>\n<p>\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043f\u0430\u043a\u0435\u0442\u0430\u0445:<\/p>\n<pre><code class=\"language-bash\">sudo dnf update -y\r\n<\/code><\/pre>\n<p>\u0417\u0430\u0442\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 Rsyslog:<\/p>\n<pre><code class=\"language-bash\">sudo dnf install -y rsyslog\r\n<\/code><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0441\u043b\u0443\u0436\u0431\u0443 \u0438 \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0435\u0451 \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl enable --now rsyslog\r\n<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0435\u0451 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl is-active rsyslog\r\n<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0441\u0451 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435:<\/p>\n<div class=\"su-note\"  style=\"border-color:LightGray;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:LightGray;border-color:LightGray;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">active<\/div><\/div>\n<h3>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Rsyslog \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435<\/h3>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c \u043d\u0430\u0448 rsyslog-\u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 AlmaLinux \u0434\u043b\u044f \u043f\u0440\u0438\u0451\u043c\u0430 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432.<\/p>\n<p>\u0412\u043c\u0435\u0441\u0442\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 <strong>\/etc\/rsyslog.conf<\/strong> \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0432 <strong>\/etc\/rsyslog.d\/<\/strong>. Rsyslog \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 .conf-\u0444\u0430\u0439\u043b\u044b \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430.<\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043d\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b <strong>\/etc\/rsyslog.d\/10-remote.conf<\/strong><\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0432 \u043d\u0435\u0433\u043e:<\/p>\n<pre><code class=\"language-text\"># Enable UDP syslog reception\r\nmodule(load=\"imudp\")\r\n\r\n# Listen for incoming syslog messages on UDP port 514\r\ninput(\r\n    type=\"imudp\"\r\n    port=\"514\"\r\n)\r\n\r\n# Store remote logs in a separate directory for each client\r\ntemplate(\r\n    name=\"RemoteLogs\"\r\n    type=\"string\"\r\n    string=\"\/var\/log\/servers\/%FROMHOST-IP%\/%PROGRAMNAME%.log\"\r\n)\r\n\r\n# Write all remote messages to the dynamic log file\r\n*.* action(\r\n    type=\"omfile\"\r\n    dynaFile=\"RemoteLogs\"\r\n    createDirs=\"on\"\r\n    dirCreateMode=\"0750\"\r\n    fileCreateMode=\"0640\"\r\n)\r\n<\/code><\/pre>\n<p>\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u0435 \u0444\u0430\u0439\u043b.<\/p>\n<h4>\u041e\u0431\u044a\u044f\u0441\u043d\u0438\u043c, \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u044d\u0442\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438<\/h4>\n<p>\u0421\u0442\u0440\u043e\u043a\u0430:<\/p>\n<pre><code class=\"language-text\">module(load=\"imudp\")\r\n<\/code><\/pre>\n<p>\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u043c\u043e\u0434\u0443\u043b\u044c <strong>imudp<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 Rsyslog \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c Syslog-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 UDP.<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435:<\/p>\n<pre><code class=\"language-text\">input(\r\n    type=\"imudp\"\r\n    port=\"514\"\r\n)\r\n<\/code><\/pre>\n<p>\u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 Rsyslog \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u0442\u044c UDP-\u043f\u043e\u0440\u0442 514.<\/p>\n<p>\u0428\u0430\u0431\u043b\u043e\u043d:<\/p>\n<pre><code class=\"language-text\">string=\"\/var\/log\/servers\/%FROMHOST-IP%\/%PROGRAMNAME%.log\"\r\n<\/code><\/pre>\n<p>\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0433\u0434\u0435 \u0431\u0443\u0434\u0443\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u044b.<\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 IP-\u0430\u0434\u0440\u0435\u0441:<\/p>\n<p><strong>192.168.10.41<\/strong><\/p>\n<p>\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 sshd, Rsyslog \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442 \u0435\u0433\u043e \u0437\u0434\u0435\u0441\u044c:<\/p>\n<p><strong>\/var\/log\/servers\/192.168.10.41\/sshd.log<\/strong><\/p>\n<p>\u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0442\u044c \u0436\u0443\u0440\u043d\u0430\u043b\u044b \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432.<\/p>\n<h3>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0436\u0443\u0440\u043d\u0430\u043b\u0430\u043c<\/h3>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0434\u043b\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0445 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043f\u0440\u0430\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430:<\/p>\n<pre><code class=\"language-bash\">sudo mkdir -p \/var\/log\/servers\r\nsudo chmod 0750 \/var\/log\/servers\r\n<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043b\u0438 \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 <strong>SELinux<\/strong>:<\/p>\n<pre><code class=\"language-bash\">getenforce\r\n<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0432 \u043e\u0442\u0432\u0435\u0442\u0435 \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 <strong>enforcing<\/strong> \u0438\u043b\u0438 <strong>permissive<\/strong>, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0448\u0430\u0433\u0438, \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0435 \u043d\u0438\u0436\u0435; \u0432 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c\u0443 \u0440\u0430\u0437\u0434\u0435\u043b\u0443 &#171;\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 Rsyslog&#187;.<\/p>\n<pre><code class=\"language-bash\">sudo restorecon -Rv \/var\/log\/servers\r\n<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e:<\/p>\n<pre><code class=\"language-bash\">ls -Zd \/var\/log\/servers\r\n<\/code><\/pre>\n<h3>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 Rsyslog<\/h3>\n<p>\u041f\u0435\u0440\u0435\u0434 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u043e\u043c Rsyslog \u043d\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043e\u0448\u0438\u0431\u043e\u043a.<\/p>\n<p>\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435:<\/p>\n<pre><code class=\"language-bash\">sudo rsyslogd -N1\r\n<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0432\u0435\u0440\u043d\u0430, \u0432 \u043a\u043e\u043d\u0446\u0435 \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a\u043e\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f:<\/p>\n<div class=\"su-note\"  style=\"border-color:lightgrey;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:lightgrey;border-color:lightgrey;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">\nEnd of config validation run. Bye.<br \/>\n<\/div><\/div>\n<p>\u0415\u0441\u043b\u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430, \u043d\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0439\u0442\u0435 \u0441\u043b\u0443\u0436\u0431\u0443, \u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u0438\u0441\u043f\u0440\u0430\u0432\u044c\u0442\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 rsyslog.<\/p>\n<h3>\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c Rsyslog<\/h3>\n<p>\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0441\u043b\u0443\u0436\u0431\u0443 rsyslog:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl restart rsyslog\r\n<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0435\u0451 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl is-active rsyslog\r\n<\/code><\/pre>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c, \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u0435\u0442 \u043b\u0438 Rsyslog UDP-\u043f\u043e\u0440\u0442 514:<\/p>\n<pre><code class=\"language-bash\">sudo ss -lunp | grep \":514\"\r\n<\/code><\/pre>\n<p>\u041e\u0436\u0438\u0434\u0430\u0435\u043c\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a\u0438\u043c:<br \/>\n<div class=\"su-note\"  style=\"border-color:lightgrey;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:lightgrey;border-color:lightgrey;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">\nUNCONN 0 0 0.0.0.0:514 0.0.0.0:* users:((&#171;rsyslogd&#187;,&#8230;))<br \/>\n<\/div><\/div>\n\u0422\u0435\u043f\u0435\u0440\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u0433\u043e\u0442\u043e\u0432 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u044b.<\/p>\n<h3>\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0436\u0443\u0440\u043d\u0430\u043b\u044b<\/h3>\n<p>\u041d\u0430 \u043c\u043d\u043e\u0433\u0438\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445 \u0441 AlmaLinux \u0442\u0438\u043f\u0438\u0447\u043d\u044b\u043c \u0441\u0435\u0442\u0435\u0432\u044b\u043c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u0437\u0430\u0449\u0438\u0442\u044b \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <strong>firewalld<\/strong>. AlmaLinux \u0442\u0430\u043a\u0436\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <strong>firewall-cmd<\/strong> \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c\u0438 \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440\u0430.<\/p>\n<div class=\"su-note\"  style=\"border-color:lightblue;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:lightblue;border-color:lightblue;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">\n\u0417\u0434\u0435\u0441\u044c \u0438 \u0434\u0430\u043b\u0435\u0435, \u0435\u0441\u043b\u0438 \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u0434\u0440\u0443\u0433\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0437\u0430\u0449\u0438\u0442\u044b, \u0432\u043d\u0435\u0441\u0438\u0442\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u0444\u0438\u043b\u044c\u0442\u0440\u0430 \u0438 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0439\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 <strong>firewalld<\/strong>.<br \/>\n<\/div><\/div>\n<pre><code class=\"language-bash\">sudo firewall-cmd --permanent --zone=public --add-rich-rule=\"rule family=\"ipv4\" source address=\"192.168.10.41\" port port=\"514\" protocol=\"udp\" accept\"\r\n<\/code><\/pre>\n<p>\u0413\u0434\u0435 <strong>192.168.10.41<\/strong> &#8212; IP-\u0430\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0430\u0448 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 rsyslog-\u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0436\u0443\u0440\u043d\u0430\u043b\u044b.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f:<\/p>\n<pre><code class=\"language-bash\">sudo firewall-cmd --reload\r\n<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435:<\/p>\n<pre><code class=\"language-bash\">sudo firewall-cmd --zone=public --list-rich-rules\r\n<\/code><\/pre>\n<p>\u042d\u0442\u043e \u043b\u0443\u0447\u0448\u0435, \u0447\u0435\u043c \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c Syslog-\u043f\u043e\u0440\u0442 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0434\u043b\u044f \u0432\u0441\u0435\u0433\u043e \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430.<\/p>\n<h2 style=\"text-align: center;\">\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/h2>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 AlmaLinux, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0436\u0443\u0440\u043d\u0430\u043b\u044b \u043d\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 rsyslog-\u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<p>\u0412 \u043d\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435:<\/p>\n<p>\u041a\u043b\u0438\u0435\u043d\u0442: <strong>192.168.10.41<\/strong><br \/>\nRsyslog-\u0441\u0435\u0440\u0432\u0435\u0440: <strong>192.168.10.10<\/strong><br \/>\n\u041f\u043e\u0440\u0442: <strong>514\/UDP<\/strong><\/p>\n<p>\u041d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c Rsyslog:<\/p>\n<pre><code class=\"language-bash\">sudo dnf install -y rsyslog\r\nsudo systemctl enable --now rsyslog\r\n<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0435\u0433\u043e \u0441\u0442\u0430\u0442\u0443\u0441:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl is-active rsyslog\r\n<\/code><\/pre>\n<h3>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0435\u0440\u0435\u0441\u044b\u043b\u043a\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432<\/h3>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b <strong>\/etc\/rsyslog.d\/90-remote.conf<\/strong><\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0432 \u043d\u0435\u0433\u043e:<\/p>\n<pre><code class=\"language-text\"># Forward all logs to the central Rsyslog server\r\n\r\n*.* action(\r\n    type=\"omfwd\"\r\n    target=\"192.168.10.10\"\r\n    port=\"514\"\r\n    protocol=\"udp\"\r\n)\r\n<\/code><\/pre>\n<p>\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u0435 <strong>192.168.10.10<\/strong> \u043d\u0430 IP-\u0430\u0434\u0440\u0435\u0441 \u0432\u0430\u0448\u0435\u0433\u043e \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 Rsyslog.<\/p>\n<p>\u041c\u043e\u0434\u0443\u043b\u044c omfwd \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f Rsyslog \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0441\u044b\u043b\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043f\u043e UDP \u0438\u043b\u0438 TCP. \u041e\u043d \u0432\u0441\u0442\u0440\u043e\u0435\u043d, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0435\u0433\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f.<\/p>\n<h3>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0432 rsyslog \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/h3>\n<p>\u0412 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u0435 \u043c\u044b \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u043d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u044b\u043c:<\/p>\n<pre><code class=\"language-text\">*.* action(\r\n    type=\"omfwd\"\r\n    target=\"192.168.10.10\"\r\n    port=\"514\"\r\n    protocol=\"udp\"\r\n)\r\n<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d, \u0447\u0430\u0441\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0443\u0442\u0435\u0440\u044f\u043d\u0430.<\/p>\n<p>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043e\u0447\u0435\u0440\u0435\u0434\u044c Rsyslog:<\/p>\n<pre><code class=\"language-text\">*.* action(\r\n    type=\"omfwd\"\r\n    target=\"192.168.10.10\"\r\n    port=\"514\"\r\n    protocol=\"udp\"\r\n\r\n    queue.type=\"linkedlist\"\r\n    queue.filename=\"remote_fwd\"\r\n    queue.saveOnShutdown=\"on\"\r\n    action.resumeRetryCount=\"-1\"\r\n)\r\n<\/code><\/pre>\n<p>\u042d\u0442\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 Rsyslog \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 \u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u044c \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438, \u0435\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d. Red Hat \u0442\u0430\u043a\u0436\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <strong>action queue<\/strong> \u0434\u043b\u044f \u0437\u0430\u0449\u0438\u0442\u044b \u043e\u0442 \u043f\u043e\u0442\u0435\u0440\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u0438 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n<div class=\"su-note\"  style=\"border-color:lightblue;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:lightblue;border-color:lightblue;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">\n<strong>\u0412\u0430\u0436\u043d\u043e:<\/strong> \u0434\u043b\u044f \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043d\u0430\u0434\u0451\u0436\u043d\u043e\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u043b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c TCP \u0432\u043c\u0435\u0441\u0442\u043e UDP. UDP \u043d\u0435 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0443 \u043f\u0430\u043a\u0435\u0442\u043e\u0432.<br \/>\n<\/div><\/div>\n<h3>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430<\/h3>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e:<\/p>\n<pre><code class=\"language-bash\">sudo rsyslogd -N1\r\n<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u043e\u0448\u0438\u0431\u043e\u043a \u043d\u0435\u0442, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 Rsyslog:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl restart rsyslog\r\n<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0430\u0441\u044c \u043b\u0438 \u0441\u043b\u0443\u0436\u0431\u0430 Rsyslog:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl is-active rsyslog\r\n<\/code><\/pre>\n<p>\u041e\u0442\u0432\u0435\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c:<br \/>\n<div class=\"su-note\"  style=\"border-color:lightgrey;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:lightgrey;border-color:lightgrey;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">\nactive<br \/>\n<\/div><\/div>\n<h2 style=\"text-align: center;\">\u0422\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432<\/h2>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c, \u043c\u043e\u0436\u0435\u0442 \u043b\u0438 \u043a\u043b\u0438\u0435\u043d\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 (\u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439) \u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<p>\u041d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435-\u043a\u043b\u0438\u0435\u043d\u0442\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435:<\/p>\n<pre><code class=\"language-bash\">logger \"Test message from AlmaLinux client\"\r\n<\/code><\/pre>\n<p>\u042d\u0442\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0441\u043e\u0437\u0434\u0430\u0441\u0442 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 Syslog.<\/p>\n<p>\u0412\u0435\u0440\u043d\u0438\u0442\u0435\u0441\u044c \u043d\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 Rsyslog.<\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433:<\/p>\n<pre><code class=\"language-bash\">sudo ls -la \/var\/log\/servers\r\n<\/code><\/pre>\n<p>\u0412\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0441 IP-\u0430\u0434\u0440\u0435\u0441\u043e\u043c \u043a\u043b\u0438\u0435\u043d\u0442\u0430:<\/p>\n<p><strong>192.168.10.41<\/strong><\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0435\u0433\u043e:<\/p>\n<pre><code class=\"language-bash\">sudo ls -la \/var\/log\/servers\/192.168.10.41\/\r\n<\/code><\/pre>\n<p>\u0421\u0440\u0435\u0434\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u0444\u0430\u0439\u043b, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0439 \u0441 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043e\u0437\u0434\u0430\u043b\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435.<\/p>\n<p>\u041d\u0430\u0439\u0442\u0438 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e:<\/p>\n<pre><code class=\"language-bash\">sudo grep -R \"Test message from AlmaLinux client\" \/var\/log\/servers\/\r\n<\/code><\/pre>\n<p>\u0418\u043b\u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 tail:<\/p>\n<pre><code class=\"language-bash\">sudo tail -f \/var\/log\/servers\/192.168.10.41\/*.log\r\n<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0441\u0432\u043e\u0451 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435.<\/p>\n<h2 style=\"text-align: center;\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 TCP \u0432\u043c\u0435\u0441\u0442\u043e UDP \u0432 Rsyslog<\/h2>\n<p>UDP \u043f\u0440\u043e\u0441\u0442 \u0438 \u0431\u044b\u0441\u0442\u0440, \u043d\u043e \u043e\u043d \u043d\u0435 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0443 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439.<\/p>\n<p>\u0414\u043b\u044f \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d-\u0441\u0438\u0441\u0442\u0435\u043c, \u0433\u0434\u0435 \u043f\u043e\u0442\u0435\u0440\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u043d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u0430, \u043b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c TCP. \u0412 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 RHEL \u043f\u043e Rsyslog \u043e\u043f\u0438\u0441\u0430\u043d\u044b <strong>imtcp<\/strong> \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0438 <strong>omfwd<\/strong> \u0441 <strong>protocol=&#187;tcp&#187;<\/strong> \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0435.<\/p>\n<h3>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u0433\u043e rsyslog-\u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/h3>\n<p>\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u0444\u0430\u0439\u043b \u0434\u043b\u044f \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f <strong>\/etc\/rsyslog.d\/10-remote.conf<\/strong> \u0438 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u0435 \u0432 \u043d\u0451\u043c \u0432\u0441\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 &#171;imudp&#187; \u043d\u0430 &#171;imtcp&#187; \u0438\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0432 \u043d\u0435\u0433\u043e:<\/p>\n<pre><code class=\"language-text\"># Enable TCP syslog reception\r\nmodule(load=\"imtcp\")\r\n\r\ninput(\r\n    type=\"imtcp\"\r\n    port=\"514\"\r\n)\r\n\r\ntemplate(\r\n    name=\"RemoteLogsTCP\"\r\n    type=\"string\"\r\n    string=\"\/var\/log\/servers\/%FROMHOST-IP%\/%PROGRAMNAME%.log\"\r\n)\r\n\r\n*.* action(\r\n    type=\"omfile\"\r\n    dynaFile=\"RemoteLogsTCP\"\r\n    createDirs=\"on\"\r\n    dirCreateMode=\"0750\"\r\n    fileCreateMode=\"0640\"\r\n)\r\n<\/code><\/pre>\n<p>\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 TCP-\u043f\u043e\u0440\u0442 \u0432 <strong>firewalld<\/strong>:<\/p>\n<pre><code class=\"language-bash\">sudo firewall-cmd --permanent --zone=public --remove-rich-rule=\"rule family=\"ipv4\" source address=\"192.168.10.41\" port port=\"514\" protocol=\"tcp\" accept\"\r\nsudo firewall-cmd --reload\r\n<\/code><\/pre>\n<p>\u0413\u0434\u0435 <strong>192.168.10.41<\/strong> &#8212; IP-\u0430\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0430\u0448 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 rsyslog-\u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0436\u0443\u0440\u043d\u0430\u043b\u044b.<\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e:<\/p>\n<pre><code class=\"language-bash\">sudo rsyslogd -N1\r\n<\/code><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0441\u043b\u0443\u0436\u0431\u0443 rsyslog:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl restart rsyslog\r\n<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043f\u043e\u0440\u0442:<\/p>\n<pre><code class=\"language-bash\">sudo ss -ltnp | grep \":514\"\r\n<\/code><\/pre>\n<h3>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Rsyslog \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0435 \u0434\u043b\u044f TCP<\/h3>\n<p>\u041d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0435 \u043e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u0444\u0430\u0439\u043b <strong>\/etc\/rsyslog.d\/90-remote.conf<\/strong> \u0434\u043b\u044f \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0432 \u043d\u0451\u043c <strong>protocol=&#187;udp&#187;<\/strong> \u043d\u0430 <strong>protocol=&#187;tcp&#187;<\/strong> \u0438\u043b\u0438 \u0432\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0432 \u043d\u0435\u0433\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435:<\/p>\n<pre><code class=\"language-text\">*.* action(\r\n    type=\"omfwd\"\r\n    target=\"192.168.10.10\"\r\n    port=\"514\"\r\n    protocol=\"tcp\"\r\n\r\n    queue.type=\"linkedlist\"\r\n    queue.filename=\"remote_fwd\"\r\n    queue.saveOnShutdown=\"on\"\r\n    action.resumeRetryCount=\"-1\"\r\n)\r\n<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 rsyslog:<\/p>\n<pre><code class=\"language-bash\">sudo rsyslogd -N1\r\n<\/code><\/pre>\n<p>\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl restart rsyslog\r\n<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435:<\/p>\n<pre><code class=\"language-bash\">logger \"Test TCP message from AlmaLinux client\"\r\n<\/code><\/pre>\n<p>\u041d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435:<\/p>\n<pre><code class=\"language-bash\">sudo grep -R \"Test TCP message from AlmaLinux client\" \/var\/log\/servers\/\r\n<\/code><\/pre>\n<h2 style=\"text-align: center;\">\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u044b Rsyslog<\/h2>\n<p>\u0415\u0441\u043b\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u044b \u043d\u0435 \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u044e\u0442 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435.<\/p>\n<h3>1. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 Rsyslog<\/h3>\n<p>\u041d\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u043c Rsyslog-\u0441\u0435\u0440\u0432\u0435\u0440\u0435:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl is-active rsyslog\r\n<\/code><\/pre>\n<p>\u041d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0435:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl is-active rsyslog\r\n<\/code><\/pre>\n<h3>2. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e<\/h3>\n<p>\u041d\u0430 \u043e\u0431\u043e\u0438\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445:<\/p>\n<pre><code class=\"language-bash\">sudo rsyslogd -N1\r\n<\/code><\/pre>\n<h3>3. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043f\u043e\u0440\u0442<\/h3>\n<p>\u041d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435:<\/p>\n<pre><code class=\"language-bash\">sudo ss -lunp | grep \":514\"\r\n<\/code><\/pre>\n<p>\u0414\u043b\u044f TCP:<\/p>\n<pre><code class=\"language-bash\">sudo ss -ltnp | grep ':514'\r\n<\/code><\/pre>\n<h3>4. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 firewalld<\/h3>\n<pre><code class=\"language-bash\">sudo firewall-cmd --list-all\r\n<\/code><\/pre>\n<h3>5. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 SELinux<\/h3>\n<pre><code class=\"language-bash\">getenforce\r\n<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f Enforcing, \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430:<\/p>\n<pre><code class=\"language-bash\">ls -Zd \/var\/log\/servers\r\n<\/code><\/pre>\n<h3>6. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u044b Rsyslog<\/h3>\n<pre><code class=\"language-bash\">sudo journalctl -u rsyslog -n 100 --no-pager\r\n<\/code><\/pre>\n<p>\u0414\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0436\u0443\u0440\u043d\u0430\u043b\u0430 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438:<\/p>\n<pre><code class=\"language-bash\">sudo journalctl -u rsyslog -f\r\n<\/code><\/pre>\n<h3>7. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0441\u0435\u0442\u0435\u0432\u043e\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435<\/h3>\n<p>\u0421 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0440\u0442\u0430 TCP:<\/p>\n<pre><code class=\"language-bash\">nc -vz 192.168.10.10 514\r\n<\/code><\/pre>\n<p>\u0414\u043b\u044f UDP \u0442\u0430\u043a\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043c\u0435\u043d\u0435\u0435 \u043d\u0430\u0434\u0451\u0436\u043d\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043b\u044f \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f tcpdump.<\/p>\n<p>\u041d\u0430 Rsyslog-\u0441\u0435\u0440\u0432\u0435\u0440\u0435:<\/p>\n<pre><code class=\"language-bash\">sudo tcpdump -ni any udp port 514\r\n<\/code><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0435:<\/p>\n<pre><code class=\"language-bash\">logger \"tcpdump test message\"\r\n<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u043f\u0430\u043a\u0435\u0442\u044b \u0432\u0438\u0434\u043d\u044b \u0432 <strong>tcpdump<\/strong>, \u0441\u0435\u0442\u0435\u0432\u043e\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 Rsyslog \u0438\u043b\u0438 SELinux.<\/p>\n<h2 style=\"text-align: center;\">\u0420\u043e\u0442\u0430\u0446\u0438\u044f \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0445 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u043c rsyslog-\u0441\u0435\u0440\u0432\u0435\u0440\u0435<\/h2>\n<p>\u0415\u0441\u043b\u0438 Rsyslog-\u0441\u0435\u0440\u0432\u0435\u0440 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u043b\u043e\u0433\u0438 \u0441 \u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043c\u0430\u0448\u0438\u043d, \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \/var\/log\/servers \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u0440\u0430\u0437\u0440\u0430\u0441\u0442\u0430\u0442\u044c\u0441\u044f.<\/p>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u0435 \u0441\u0442\u043e\u0438\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c <strong>logrotate<\/strong>.<\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0444\u0430\u0439\u043b <strong>\/etc\/logrotate.d\/remote-rsyslog<\/strong><\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0432 \u043d\u0435\u0433\u043e:<\/p>\n<pre><code class=\"language-text\">\/var\/log\/servers\/*\/*.log {\r\n    daily\r\n    rotate 14\r\n    compress\r\n    delaycompress\r\n    missingok\r\n    notifempty\r\n    create 0640 root root\r\n}\r\n<\/code><\/pre>\n<p>\u042d\u0442\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f:<\/p>\n<ul>\n<li>\u0431\u0443\u0434\u0435\u0442 \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e \u0440\u043e\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0436\u0443\u0440\u043d\u0430\u043b\u044b;<\/li>\n<li>\u0431\u0443\u0434\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c 14 \u0441\u0442\u0430\u0440\u044b\u0445 \u043a\u043e\u043f\u0438\u0439;<\/li>\n<li>\u0431\u0443\u0434\u0435\u0442 \u0441\u0436\u0438\u043c\u0430\u0442\u044c \u0441\u0442\u0430\u0440\u044b\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u044b;<\/li>\n<li>\u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443, \u0435\u0441\u043b\u0438 \u0444\u0430\u0439\u043b \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442;<\/li>\n<li>\u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0443\u0441\u0442\u044b\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u044b.<\/li>\n<\/ul>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0432 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d-\u0441\u0440\u0435\u0434\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0432\u0430\u0448\u0443 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432 \u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043a \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044e \u043b\u043e\u0433\u043e\u0432.<\/p>\n<h2 style=\"text-align: center;\">\u0426\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Rsyslogd \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043e: \u0418\u0442\u043e\u0433<\/h2>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043c\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0432 AlmaLinux \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Rsyslog: \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f \u043f\u0440\u0438\u0451\u043c\u0430 \u043b\u043e\u0433\u043e\u0432, \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f \u0438\u0445 \u043f\u0435\u0440\u0435\u0441\u044b\u043b\u043a\u0438, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0443 UDP\/TCP-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f, \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u043d\u0430\u0434\u0451\u0436\u043d\u043e\u0439 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u0440\u043e\u0442\u0430\u0446\u0438\u044e \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432.<\/p>\n<p>\u0422\u0430\u043a\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043b\u043e\u0433\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442 \u0438\u0445 \u043f\u043e\u0438\u0441\u043a \u0438 \u0430\u043d\u0430\u043b\u0438\u0437, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0432 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435.<\/p>\n<p>\u0425\u043e\u0442\u044f \u0432 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0438\u0437 \u0434\u0432\u0443\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 &#8212; \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0433\u043e Rsyslog-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430, &#8212; \u044d\u0442\u043e\u0442 \u043f\u043e\u0434\u0445\u043e\u0434 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432. \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0438\u0437 \u043d\u0438\u0445 \u043d\u0430 \u043f\u0435\u0440\u0435\u0441\u044b\u043b\u043a\u0443 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u043d\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 Rsyslog-\u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<p>\u0414\u043b\u044f \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0432\u0430\u0436\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u043d\u0430\u0434\u0451\u0436\u043d\u0443\u044e \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u0443\u044e \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0443\u0436\u0435\u043d \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432, \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430, \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0437\u0430\u0434\u0430\u0447, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <a href=\"https:\/\/domen-hosting.net\/vps.html\" title=\"\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u044b \u043d\u0430 SSD\" rel=\"noopener\" target=\"_blank\">\u0431\u044b\u0441\u0442\u0440\u044b\u0435 SSD VPS<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/domen-hosting.net\/dedicated_all.html\" title=\"\u0431\u044b\u0441\u0442\u0440\u044b\u0435 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" rel=\"noopener\" target=\"_blank\">\u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 SSD<\/a> \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043d\u0430 \u043d\u0430\u0448\u0435\u043c \u0441\u0430\u0439\u0442\u0435.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Rsyslog &#8212; \u044d\u0442\u043e \u0434\u0435\u043c\u043e\u043d (\u0441\u0435\u0440\u0432\u0438\u0441), \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0434\u043b\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0438 \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u0439. \u041e\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0442 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u043f\u043e \u043d\u0443\u0436\u043d\u044b\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c \u0438 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0444\u0430\u0439\u043b\u044b \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432. \u041e\u0434\u043d\u0438\u043c \u0438\u0437 \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0445 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432 Rsyslog \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0440\u0430\u0432\u0438\u043b \u0438 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c, \u043a\u0443\u0434\u0430 \u0438\u0445 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[19],"tags":[],"class_list":["post-1566","post","type-post","status-publish","format-standard","hentry","category-vps-vds-virtualnye-vydelennye-servera"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0432 AlmaLinux \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Rsyslog: \u0441\u0435\u0440\u0432\u0435\u0440, \u043a\u043b\u0438\u0435\u043d\u0442\u044b, UDP\/TCP, \u043e\u0447\u0435\u0440\u0435\u0434\u0438, SELinux \u0438 \u0440\u043e\u0442\u0430\u0446\u0438\u044f \u043b\u043e\u0433\u043e\u0432.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"domenhost\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/vps-vds-virtualnye-vydelennye-servera\\\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#article\",\"name\":\"\\u041a\\u0430\\u043a \\u043d\\u0430\\u0441\\u0442\\u0440\\u043e\\u0438\\u0442\\u044c \\u0446\\u0435\\u043d\\u0442\\u0440\\u0430\\u043b\\u0438\\u0437\\u043e\\u0432\\u0430\\u043d\\u043d\\u043e\\u0435 \\u0445\\u0440\\u0430\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0436\\u0443\\u0440\\u043d\\u0430\\u043b\\u043e\\u0432 \\u0441 \\u043f\\u043e\\u043c\\u043e\\u0449\\u044c\\u044e Rsyslog \\u0432 AlmaLinux\",\"headline\":\"\\u041a\\u0430\\u043a \\u043d\\u0430\\u0441\\u0442\\u0440\\u043e\\u0438\\u0442\\u044c \\u0446\\u0435\\u043d\\u0442\\u0440\\u0430\\u043b\\u0438\\u0437\\u043e\\u0432\\u0430\\u043d\\u043d\\u043e\\u0435 \\u0445\\u0440\\u0430\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0436\\u0443\\u0440\\u043d\\u0430\\u043b\\u043e\\u0432 \\u0441 \\u043f\\u043e\\u043c\\u043e\\u0449\\u044c\\u044e Rsyslog \\u0432 AlmaLinux\",\"author\":{\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/author\\\/domehost#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/rsyslog-300x300.png\",\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/vps-vds-virtualnye-vydelennye-servera\\\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html\\\/#articleImage\"},\"datePublished\":\"2026-08-26T16:41:51+04:00\",\"dateModified\":\"2026-08-26T16:43:22+04:00\",\"inLanguage\":\"ru-RU\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/vps-vds-virtualnye-vydelennye-servera\\\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/vps-vds-virtualnye-vydelennye-servera\\\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#webpage\"},\"articleSection\":\"VPS\\\/VDS (\\u0432\\u0438\\u0440\\u0442\\u0443\\u0430\\u043b\\u044c\\u043d\\u044b\\u0435 \\u0441\\u0435\\u0440\\u0432\\u0435\\u0440\\u0430)\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/vps-vds-virtualnye-vydelennye-servera\\\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru#listItem\",\"position\":1,\"name\":\"\\u0413\\u043b\\u0430\\u0432\\u043d\\u0430\\u044f\",\"item\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/vps-vds-virtualnye-vydelennye-servera#listItem\",\"name\":\"VPS\\\/VDS (\\u0432\\u0438\\u0440\\u0442\\u0443\\u0430\\u043b\\u044c\\u043d\\u044b\\u0435 \\u0441\\u0435\\u0440\\u0432\\u0435\\u0440\\u0430)\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/vps-vds-virtualnye-vydelennye-servera#listItem\",\"position\":2,\"name\":\"VPS\\\/VDS (\\u0432\\u0438\\u0440\\u0442\\u0443\\u0430\\u043b\\u044c\\u043d\\u044b\\u0435 \\u0441\\u0435\\u0440\\u0432\\u0435\\u0440\\u0430)\",\"item\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/vps-vds-virtualnye-vydelennye-servera\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/vps-vds-virtualnye-vydelennye-servera\\\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#listItem\",\"name\":\"\\u041a\\u0430\\u043a \\u043d\\u0430\\u0441\\u0442\\u0440\\u043e\\u0438\\u0442\\u044c \\u0446\\u0435\\u043d\\u0442\\u0440\\u0430\\u043b\\u0438\\u0437\\u043e\\u0432\\u0430\\u043d\\u043d\\u043e\\u0435 \\u0445\\u0440\\u0430\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0436\\u0443\\u0440\\u043d\\u0430\\u043b\\u043e\\u0432 \\u0441 \\u043f\\u043e\\u043c\\u043e\\u0449\\u044c\\u044e Rsyslog \\u0432 AlmaLinux\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru#listItem\",\"name\":\"\\u0413\\u043b\\u0430\\u0432\\u043d\\u0430\\u044f\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/vps-vds-virtualnye-vydelennye-servera\\\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#listItem\",\"position\":3,\"name\":\"\\u041a\\u0430\\u043a \\u043d\\u0430\\u0441\\u0442\\u0440\\u043e\\u0438\\u0442\\u044c \\u0446\\u0435\\u043d\\u0442\\u0440\\u0430\\u043b\\u0438\\u0437\\u043e\\u0432\\u0430\\u043d\\u043d\\u043e\\u0435 \\u0445\\u0440\\u0430\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0436\\u0443\\u0440\\u043d\\u0430\\u043b\\u043e\\u0432 \\u0441 \\u043f\\u043e\\u043c\\u043e\\u0449\\u044c\\u044e Rsyslog \\u0432 AlmaLinux\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/vps-vds-virtualnye-vydelennye-servera#listItem\",\"name\":\"VPS\\\/VDS (\\u0432\\u0438\\u0440\\u0442\\u0443\\u0430\\u043b\\u044c\\u043d\\u044b\\u0435 \\u0441\\u0435\\u0440\\u0432\\u0435\\u0440\\u0430)\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/#organization\",\"name\":\"\\u0414\\u043e\\u043c\\u0435\\u043d\\u044b \\u0438 \\u0425\\u043e\\u0441\\u0442\\u0438\\u043d\\u0433 - \\u0411\\u0430\\u0437\\u0430 \\u0437\\u043d\\u0430\\u043d\\u0438\\u0439\",\"description\":\"\\u0411\\u0430\\u0437\\u0430 \\u0437\\u043d\\u0430\\u043d\\u044c\",\"url\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2026\\\/03\\\/logo-blog.jpg\",\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/vps-vds-virtualnye-vydelennye-servera\\\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html\\\/#organizationLogo\",\"width\":288,\"height\":103},\"image\":{\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/vps-vds-virtualnye-vydelennye-servera\\\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/author\\\/domehost#author\",\"url\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/author\\\/domehost\",\"name\":\"domenhost\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/vps-vds-virtualnye-vydelennye-servera\\\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/56b5318271bd20b6d696121dcd6aefa6daabca92b516e1efcbc61cc18a58e862?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"domenhost\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/vps-vds-virtualnye-vydelennye-servera\\\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#webpage\",\"url\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/vps-vds-virtualnye-vydelennye-servera\\\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html\",\"name\":\"\\u041a\\u0430\\u043a \\u043d\\u0430\\u0441\\u0442\\u0440\\u043e\\u0438\\u0442\\u044c \\u0446\\u0435\\u043d\\u0442\\u0440\\u0430\\u043b\\u0438\\u0437\\u043e\\u0432\\u0430\\u043d\\u043d\\u043e\\u0435 \\u0445\\u0440\\u0430\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0436\\u0443\\u0440\\u043d\\u0430\\u043b\\u043e\\u0432 \\u0441 \\u043f\\u043e\\u043c\\u043e\\u0449\\u044c\\u044e Rsyslog \\u0432 AlmaLinux\",\"description\":\"\\u041d\\u0430\\u0441\\u0442\\u0440\\u043e\\u0439\\u043a\\u0430 \\u0446\\u0435\\u043d\\u0442\\u0440\\u0430\\u043b\\u0438\\u0437\\u043e\\u0432\\u0430\\u043d\\u043d\\u043e\\u0433\\u043e \\u0432\\u0435\\u0434\\u0435\\u043d\\u0438\\u044f \\u0436\\u0443\\u0440\\u043d\\u0430\\u043b\\u043e\\u0432 \\u0432 AlmaLinux \\u0441 \\u043f\\u043e\\u043c\\u043e\\u0449\\u044c\\u044e Rsyslog: \\u0441\\u0435\\u0440\\u0432\\u0435\\u0440, \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u044b, UDP\\\/TCP, \\u043e\\u0447\\u0435\\u0440\\u0435\\u0434\\u0438, SELinux \\u0438 \\u0440\\u043e\\u0442\\u0430\\u0446\\u0438\\u044f \\u043b\\u043e\\u0433\\u043e\\u0432.\",\"inLanguage\":\"ru-RU\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/vps-vds-virtualnye-vydelennye-servera\\\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/author\\\/domehost#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/author\\\/domehost#author\"},\"datePublished\":\"2026-08-26T16:41:51+04:00\",\"dateModified\":\"2026-08-26T16:43:22+04:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/#website\",\"url\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/\",\"name\":\"\\u0414\\u043e\\u043c\\u0435\\u043d\\u044b \\u0438 \\u0425\\u043e\\u0441\\u0442\\u0438\\u043d\\u0433 - \\u0411\\u0430\\u0437\\u0430 \\u0437\\u043d\\u0430\\u043d\\u0438\\u0439\",\"description\":\"\\u0411\\u0430\\u0437\\u0430 \\u0437\\u043d\\u0430\\u043d\\u044c\",\"inLanguage\":\"ru-RU\",\"publisher\":{\"@id\":\"https:\\\/\\\/domen-hosting.net\\\/help\\\/ru\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Rsyslog \u0432 AlmaLinux","description":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0432 AlmaLinux \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Rsyslog: \u0441\u0435\u0440\u0432\u0435\u0440, \u043a\u043b\u0438\u0435\u043d\u0442\u044b, UDP\/TCP, \u043e\u0447\u0435\u0440\u0435\u0434\u0438, SELinux \u0438 \u0440\u043e\u0442\u0430\u0446\u0438\u044f \u043b\u043e\u0433\u043e\u0432.","canonical_url":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#article","name":"\u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Rsyslog \u0432 AlmaLinux","headline":"\u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Rsyslog \u0432 AlmaLinux","author":{"@id":"https:\/\/domen-hosting.net\/help\/ru\/author\/domehost#author"},"publisher":{"@id":"https:\/\/domen-hosting.net\/help\/ru\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/domen-hosting.net\/help\/wp-content\/uploads\/2026\/08\/rsyslog-300x300.png","@id":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html\/#articleImage"},"datePublished":"2026-08-26T16:41:51+04:00","dateModified":"2026-08-26T16:43:22+04:00","inLanguage":"ru-RU","mainEntityOfPage":{"@id":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#webpage"},"isPartOf":{"@id":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#webpage"},"articleSection":"VPS\/VDS (\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430)"},{"@type":"BreadcrumbList","@id":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/domen-hosting.net\/help\/ru#listItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f","item":"https:\/\/domen-hosting.net\/help\/ru","nextItem":{"@type":"ListItem","@id":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera#listItem","name":"VPS\/VDS (\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430)"}},{"@type":"ListItem","@id":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera#listItem","position":2,"name":"VPS\/VDS (\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430)","item":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera","nextItem":{"@type":"ListItem","@id":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#listItem","name":"\u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Rsyslog \u0432 AlmaLinux"},"previousItem":{"@type":"ListItem","@id":"https:\/\/domen-hosting.net\/help\/ru#listItem","name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f"}},{"@type":"ListItem","@id":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#listItem","position":3,"name":"\u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Rsyslog \u0432 AlmaLinux","previousItem":{"@type":"ListItem","@id":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera#listItem","name":"VPS\/VDS (\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430)"}}]},{"@type":"Organization","@id":"https:\/\/domen-hosting.net\/help\/ru\/#organization","name":"\u0414\u043e\u043c\u0435\u043d\u044b \u0438 \u0425\u043e\u0441\u0442\u0438\u043d\u0433 - \u0411\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u0438\u0439","description":"\u0411\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u044c","url":"https:\/\/domen-hosting.net\/help\/ru\/","logo":{"@type":"ImageObject","url":"https:\/\/domen-hosting.net\/help\/ru\/wp-content\/uploads\/sites\/2\/2026\/03\/logo-blog.jpg","@id":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html\/#organizationLogo","width":288,"height":103},"image":{"@id":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/domen-hosting.net\/help\/ru\/author\/domehost#author","url":"https:\/\/domen-hosting.net\/help\/ru\/author\/domehost","name":"domenhost","image":{"@type":"ImageObject","@id":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/56b5318271bd20b6d696121dcd6aefa6daabca92b516e1efcbc61cc18a58e862?s=96&d=mm&r=g","width":96,"height":96,"caption":"domenhost"}},{"@type":"WebPage","@id":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#webpage","url":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html","name":"\u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Rsyslog \u0432 AlmaLinux","description":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0432 AlmaLinux \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Rsyslog: \u0441\u0435\u0440\u0432\u0435\u0440, \u043a\u043b\u0438\u0435\u043d\u0442\u044b, UDP\/TCP, \u043e\u0447\u0435\u0440\u0435\u0434\u0438, SELinux \u0438 \u0440\u043e\u0442\u0430\u0446\u0438\u044f \u043b\u043e\u0433\u043e\u0432.","inLanguage":"ru-RU","isPartOf":{"@id":"https:\/\/domen-hosting.net\/help\/ru\/#website"},"breadcrumb":{"@id":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html#breadcrumblist"},"author":{"@id":"https:\/\/domen-hosting.net\/help\/ru\/author\/domehost#author"},"creator":{"@id":"https:\/\/domen-hosting.net\/help\/ru\/author\/domehost#author"},"datePublished":"2026-08-26T16:41:51+04:00","dateModified":"2026-08-26T16:43:22+04:00"},{"@type":"WebSite","@id":"https:\/\/domen-hosting.net\/help\/ru\/#website","url":"https:\/\/domen-hosting.net\/help\/ru\/","name":"\u0414\u043e\u043c\u0435\u043d\u044b \u0438 \u0425\u043e\u0441\u0442\u0438\u043d\u0433 - \u0411\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u0438\u0439","description":"\u0411\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u044c","inLanguage":"ru-RU","publisher":{"@id":"https:\/\/domen-hosting.net\/help\/ru\/#organization"}}]}},"aioseo_meta_data":{"post_id":"1566","title":null,"description":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0432 AlmaLinux \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Rsyslog: \u0441\u0435\u0440\u0432\u0435\u0440, \u043a\u043b\u0438\u0435\u043d\u0442\u044b, UDP\/TCP, \u043e\u0447\u0435\u0440\u0435\u0434\u0438, SELinux \u0438 \u0440\u043e\u0442\u0430\u0446\u0438\u044f \u043b\u043e\u0433\u043e\u0432.","keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-08-26 12:10:27","updated":"2026-08-26 12:43:22","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/domen-hosting.net\/help\/ru\" title=\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f\">\u0413\u043b\u0430\u0432\u043d\u0430\u044f<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\" title=\"VPS\/VDS (\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430)\">VPS\/VDS (\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430)<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Rsyslog \u0432 AlmaLinux\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f","link":"https:\/\/domen-hosting.net\/help\/ru"},{"label":"VPS\/VDS (\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430)","link":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera"},{"label":"\u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Rsyslog \u0432 AlmaLinux","link":"https:\/\/domen-hosting.net\/help\/ru\/vps-vds-virtualnye-vydelennye-servera\/kak-nastroit-czentralizovannoe-hranenie-zhurnalov-s-pomoshhyu-rsyslog-v-almalinux.html"}],"_links":{"self":[{"href":"https:\/\/domen-hosting.net\/help\/ru\/wp-json\/wp\/v2\/posts\/1566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/domen-hosting.net\/help\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/domen-hosting.net\/help\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/domen-hosting.net\/help\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/domen-hosting.net\/help\/ru\/wp-json\/wp\/v2\/comments?post=1566"}],"version-history":[{"count":9,"href":"https:\/\/domen-hosting.net\/help\/ru\/wp-json\/wp\/v2\/posts\/1566\/revisions"}],"predecessor-version":[{"id":1574,"href":"https:\/\/domen-hosting.net\/help\/ru\/wp-json\/wp\/v2\/posts\/1566\/revisions\/1574"}],"wp:attachment":[{"href":"https:\/\/domen-hosting.net\/help\/ru\/wp-json\/wp\/v2\/media?parent=1566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/domen-hosting.net\/help\/ru\/wp-json\/wp\/v2\/categories?post=1566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/domen-hosting.net\/help\/ru\/wp-json\/wp\/v2\/tags?post=1566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}