set

log setting syslog

log setting syslog

Use this command to configure logging to the Syslog server.

Syntax

To configure logging to the Syslog server

set log setting syslog status {enable disable} set log setting syslog server <server_ip4>

set log setting syslog port <port_integer>

set log setting syslog number <number_integer> set log setting syslog csv {enable disable} set log setting syslog loglevel <severity_integer>

set log setting syslog facility {alert audit auth authpriv clock cron daemon ftp kern lpr mail news netp local10 local 1 local2 local3 local4 local5 local6 local7}

Keywords/Variables

Description

Default

 

 

 

status

Enable or disable logging to the remote syslog server.

disable

{enable disable}

 

 

server <server_ip4>

Sets the remote host, syslog server, IP address.

No default

port <port_integer>

Sets the port number for logging to the Syslog server.

514

number <number_integer>

Sets what syslog server receives logs sent from the

No default

 

FortiMail unit. When you use number, you need to

 

 

include the server IP address when entering a number.

 

 

For example, set log setting syslog number 2

 

 

server 172.20.16.155.

 

csv {enable disable}

Enable or disable formatting for CSV format.

disable

loglevel

Sets the log severity level for the logging device. Use the

Emergency

<severity_integer>

? to list the following log levels:

 

 

0=Emergency

 

 

1=Alert

 

 

2=Critical

 

 

3=Error

 

 

4=Warning

 

 

5=Notification

 

 

6=Information

 

 

Logs will include items of the level you set and higher.

 

 

Set level to 6 if you want to include all log severity levels.

 

 

 

 

facility {alert audit

Sets the facility identifier used for all log entries sent to

kern

auth authpriv

the syslog server by the FortiMail unit. Facility can help

 

clock cron daemon

identify the source of log entries on the syslog server.

 

 

 

ftp kern lpr mail

 

 

news } netp local10

 

 

local 1 local2

 

 

local3 local4 local5

 

 

local6 local7}

 

 

History

FortiMail v2.8

New.

FortiMail 3.0MR1

Added number keyword.

FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference

 

06-30004-0420-20080814

221

Page 221
Image 221
Fortinet 3.0 MR4 manual Log setting syslog