Fortinet white logo
Fortinet white logo

CLI Reference

config log syslogd setting

config log syslogd setting

Global settings for remote syslog server.

config log syslogd setting
    Description: Global settings for remote syslog server.
    set status [enable|disable]
    set server {string}
    set reliable [enable|disable]
    set port {integer}
    set facility [kernel|user|...]
    set source-ip {string}
    set format [default|csv|...]
    config custom-field-name
        Description: Custom field name for CEF format logging.
        edit <id>
            set name {string}
            set custom {string}
        next
    end
end

config log syslogd setting

Parameter

Description

Type

Size

status

Enable/disable remote syslog logging.

option

-

Option

Description

enable

Log to remote syslog server.

disable

Do not log to remote syslog server.

server

Address of remote syslog server.

string

Maximum length: 63

reliable

Enable/disable reliable logging (RFC3195).

option

-

Option

Description

enable

Enable reliable (RFC3195).

disable

Disable reliable (RFC3195).

port

Server listen port.

integer

Minimum value: 0 Maximum value: 65535

facility

Remote syslog facility.

option

-

Option

Description

kernel

Kernel messages.

user

Random user-level messages.

mail

Mail system.

daemon

System daemons.

auth

Security/authorization messages.

syslog

Messages generated internally by syslog.

lpr

Line printer subsystem.

news

Network news subsystem.

uucp

Network news subsystem.

cron

Clock daemon.

authpriv

Security/authorization messages (private).

ftp

FTP daemon.

ntp

NTP daemon.

audit

Log audit.

alert

Log alert.

clock

Clock daemon.

local0

Reserved for local use.

local1

Reserved for local use.

local2

Reserved for local use.

local3

Reserved for local use.

local4

Reserved for local use.

local5

Reserved for local use.

local6

Reserved for local use.

local7

Reserved for local use.

source-ip

Source IP address of syslog.

string

Maximum length: 63

format

Log format.

option

-

Option

Description

default

Syslog format.

csv

CSV (Comma Separated Values) format.

cef

CEF (Common Event Format) format.

config custom-field-name

Parameter

Description

Type

Size

id

Entry ID.

integer

Minimum value: 0 Maximum value: 255

name

Field name.

string

Maximum length: 35

custom

Field custom name.

string

Maximum length: 35

config log syslogd setting

config log syslogd setting

Global settings for remote syslog server.

config log syslogd setting
    Description: Global settings for remote syslog server.
    set status [enable|disable]
    set server {string}
    set reliable [enable|disable]
    set port {integer}
    set facility [kernel|user|...]
    set source-ip {string}
    set format [default|csv|...]
    config custom-field-name
        Description: Custom field name for CEF format logging.
        edit <id>
            set name {string}
            set custom {string}
        next
    end
end

config log syslogd setting

Parameter

Description

Type

Size

status

Enable/disable remote syslog logging.

option

-

Option

Description

enable

Log to remote syslog server.

disable

Do not log to remote syslog server.

server

Address of remote syslog server.

string

Maximum length: 63

reliable

Enable/disable reliable logging (RFC3195).

option

-

Option

Description

enable

Enable reliable (RFC3195).

disable

Disable reliable (RFC3195).

port

Server listen port.

integer

Minimum value: 0 Maximum value: 65535

facility

Remote syslog facility.

option

-

Option

Description

kernel

Kernel messages.

user

Random user-level messages.

mail

Mail system.

daemon

System daemons.

auth

Security/authorization messages.

syslog

Messages generated internally by syslog.

lpr

Line printer subsystem.

news

Network news subsystem.

uucp

Network news subsystem.

cron

Clock daemon.

authpriv

Security/authorization messages (private).

ftp

FTP daemon.

ntp

NTP daemon.

audit

Log audit.

alert

Log alert.

clock

Clock daemon.

local0

Reserved for local use.

local1

Reserved for local use.

local2

Reserved for local use.

local3

Reserved for local use.

local4

Reserved for local use.

local5

Reserved for local use.

local6

Reserved for local use.

local7

Reserved for local use.

source-ip

Source IP address of syslog.

string

Maximum length: 63

format

Log format.

option

-

Option

Description

default

Syslog format.

csv

CSV (Comma Separated Values) format.

cef

CEF (Common Event Format) format.

config custom-field-name

Parameter

Description

Type

Size

id

Entry ID.

integer

Minimum value: 0 Maximum value: 255

name

Field name.

string

Maximum length: 35

custom

Field custom name.

string

Maximum length: 35