Mailinglist Archive: opensuse-factory (549 mails)

< Previous Next >
Re: [opensuse-factory] rsyslog
  • From: Stefan Seyfried <stefan.seyfried@xxxxxxxxxxxxxx>
  • Date: Mon, 23 Nov 2009 18:17:45 +0100
  • Message-id: <ffaf50af0911230917k3637525fndd506749a7b4ed2@xxxxxxxxxxxxxx>
Hi,

2009/11/16 Carlos E. R. <robin.listas@xxxxxxxxx>:
For now, my next step is to be able to log external sources (my
router).

I had it working with syslog-ng, I just have to learn how to do it here.

Was pretty easy for me here:

seife:~ # cat /etc/rsyslog.d/remote.conf
# UDP Syslog Server:
$ModLoad imudp.so # provides UDP syslog reception
$UDPServerRun 514 # start a UDP syslog server at standard port 514

if $fromhost-ip != '127.0.0.1' then
-/var/log/remote;RSYSLOG_TraditionalFileFormat
if $fromhost-ip != '127.0.0.1' then ~


Have fun,

seife
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >