4 Operator

 • 

14.4K Posts

November 1st, 2011 02:00

On UNIX/Linux NW will use logger to log events as per syslog.conf configuration.  To push this out you will need syslog which supports it (we use syslog-ng for that purpose).

1 Rookie

 • 

2 Posts

November 1st, 2011 06:00

Alright are you also able to send the daemon.raw/log file directly to syslog? If so could you share the config line for that? Would be much appriciated.

4 Operator

 • 

14.4K Posts

November 2nd, 2011 03:00

I can't share exact config as it belongs to customer site, but link which will get you going are:

http://www.quietearth.us/articles/2006/09/27/Logging-remote-host-to-specific-logfile-with-syslogng

http://oreilly.com/pub/h/1366

http://www.syslog.org/wiki/Syslog-ng/HowToGuides

There is also forum (not very active, but then sng is not that difficult) which can be found at:

http://www.syslog.org/forum/index.php/board,12.0.html

1 Message

April 6th, 2022 02:00

a quick and dirty solution:

 

For Networker (running on linux) you need to configure rsyslog to forward logs to remote syslog server (linux-us5 in my case)

# vi /etc/rsyslog.conf

..

.

# remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional

#*.* @@remote-host:514

*.* @@linux-us5:514

# ### end of the forwarding rule ###

 

Also an application conf needs to be created on NW Server to define which application log is required to forward:

 

[root@nw-server1 etc]# vi /etc/rsyslog.d/networker.conf

$ModLoad imfile

$InputFilePollInterval 10

$PrivDropToGroup adm

$InputFileName /nsr/logs/daemon.log

$InputFileTag APP

$InputFileStateFile Stat-APP

$InputFileSeverity app

$InputFileFacility local7

$InputRunFileMonitor

$InputFilePersistStateInterval 1000

No Events found!

Top