You can configure the remote server for
logging through TCP.
Before you begin
The NPB application supports remote
logging on Linux, Mac, or Windows operating systems, and the
following commands are Linux-specific. See the documentation
for the Rsyslog utility for your operating system, as
needed.
About this task
Create a TCP-specific configuration file
to enable UDP transport of syslog.
Procedure
-
At the command prompt, create
and open the tcp.conf file in your preferred text
editor.
$ /etc/rsyslog.d/tcp.conf
-
Copy the following text into the
tcp.conf file with the appropriate port number.
# load TCP listener
module(load="imtcp")
# start listener at port 514
input(type="imtcp" port="514")
-
Save and close the
tcp.conf file.
-
Restart the
rsyslog service.
$ sudo systemctl restart rsyslog
-
Verify the
rsyslog service status.
$ sudo systemctl status rsyslog