add syslog-server

In the R81.10.X releases, this command is available starting from the R81.10.00 version.

Description

Adds a new external syslog server. The appliance can send its syslog information to multiple syslog servers and can also be configured to relay its security logs to external syslog servers.

Syntax

add syslog-server ipv4-address <ipv4-address> [ port <port> ] [ enabled <enabled> ] name <name> [ sent-logs <sent-logs> ]

Parameters

Parameter

Description

enabled

Determine if an external System Log Server is active

Type: Boolean (true/false)

ipv4-address

The desired external System Log Server IP address

name

System Log Server name

A string of alphanumeric characters with a space between them:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

port

Port in the external System Log Server that receives the logs (default is 514)

Type: Port number

sent-logs

Determine which logs types will be sent to the System Log Server

Options: system-logs, security-logs, system-and-security-logs

Example Command

add syslog-server ipv4-address 192.168.1.1 port 8080 enabled true name MySysLogServer sent-logs system-logs