From 0511396ca71291c7becd990818f1f129a2edca69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Barnouin?= Date: Tue, 13 May 2025 14:15:43 +0200 Subject: [PATCH] Improve rsyslog config --- systems/minimalLXCConfig.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/systems/minimalLXCConfig.nix b/systems/minimalLXCConfig.nix index ad71387..2834477 100644 --- a/systems/minimalLXCConfig.nix +++ b/systems/minimalLXCConfig.nix @@ -128,7 +128,9 @@ }; rsyslogd = { enable = true; - extraConfig = "*.*@192.168.1.27:1514;RSYSLOG_SyslogProtocol23Format"; + extraConfig = '' + *.* action(type="omfwd" target="192.168.1.27" port="1514" protocol="tcp") + ''; }; prometheus = { exporters = {