Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
router:syslog-ng [2025/12/06 03:30] – [Scribe] mirocowrouter:syslog-ng [2025/12/06 03:31] (текущий) mirocow
Строка 86: Строка 86:
     destination(messages);     destination(messages);
 #    destination(log_server); # uncomment this and "destination log_server" function above to send udp log messages to local network #    destination(log_server); # uncomment this and "destination log_server" function above to send udp log messages to local network
 +};
 +</code>
 +
 +меняем функцию log на
 +
 +<code bash>
 +destination d_fluentbit {
 +    syslog("192.168.1.132" transport("tcp") port(5140));
 +};
 +
 +log {
 +    source(src);
 +#    source(net); # uncomment this and "source net" function above to get udp log messages from local network
 +    destination(messages);
 +#    destination(log_server); # uncomment this and "destination log_server" function above to send udp log messages to local network
 +    destination(d_fluentbit);
 }; };
 </code> </code>