Updated l1chost.in (added remote logging configuration).
authorZoltán Felleg <zoltan.felleg@userrendszerhaz.hu>
Thu, 13 Mar 2025 19:25:48 +0000 (20:25 +0100)
committerZoltán Felleg <zoltan.felleg@userrendszerhaz.hu>
Thu, 13 Mar 2025 19:25:48 +0000 (20:25 +0100)
sources/l1chost.in/etc/rsyslog.d/remote.conf [new file with mode: 0644]

diff --git a/sources/l1chost.in/etc/rsyslog.d/remote.conf b/sources/l1chost.in/etc/rsyslog.d/remote.conf
new file mode 100644 (file)
index 0000000..65b15bf
--- /dev/null
@@ -0,0 +1,10 @@
+module(load="imfile")
+module(load="omrelp")
+
+input(type="imfile"
+      file="/var/log/rsync.log"
+      tag="rsync")
+
+if $syslogtag == "rsync" then {
+    action(type="omrelp" target="log.in.useribm.hu" port="2514")
+}