Различия
Показаны различия между двумя версиями страницы.
| Предыдущая версия справа и слева Предыдущая версия | |||
| router:syslog-ng [2025/12/06 03:30] – [Scribe] mirocow | router:syslog-ng [2025/12/06 03:31] (текущий) – mirocow | ||
|---|---|---|---|
| Строка 86: | Строка 86: | ||
| destination(messages); | destination(messages); | ||
| # destination(log_server); | # destination(log_server); | ||
| + | }; | ||
| + | </ | ||
| + | |||
| + | меняем функцию log на | ||
| + | |||
| + | <code bash> | ||
| + | destination d_fluentbit { | ||
| + | syslog(" | ||
| + | }; | ||
| + | |||
| + | log { | ||
| + | source(src); | ||
| + | # source(net); | ||
| + | destination(messages); | ||
| + | # destination(log_server); | ||
| + | destination(d_fluentbit); | ||
| }; | }; | ||
| </ | </ | ||