Home > |
---|
Add a remote host receiving the logs. Can be any system that provides the remote syslog service.
Note: For this function to work you must open receiving udp port 514 on the remote log server.
Users with the following privileges can perform this command:
•Admin
•Operator
syslog remotehost add -host <hostname_or_IP_address> [-protocol <protocol>] [-port <port>]
Option | Shortcut | Description |
---|---|---|
-host <hostname_or_IP_address> | -h |
Specifies the hostname or the IP address of the remote computer system that will be accepting and storing the syslogs. |
-protocol <protocol> | -pr |
Specifies the network protocol. Valid values: tcp,udp |
-port <port> | -po |
Remote Logging Server port number. Range: 0-65535 |
lunash:>syslog remotehost add -host 192.12.1.123
Stopping syslog: [ OK ]
Starting syslog: [ OK ]
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
192.12.1.123 added successfully
Make sure the rsyslog service on 192.12.1.123 is properly configured to receive the logs
Command Result : 0 (Success)