Syslogd Setting - Fortinet FortiGate FortiGate-5001 Administration Manual

Fortigate 5000 series
Hide thumbs Also See for FortiGate FortiGate-5001:
Table of Contents

Advertisement

Log & Report

syslogd setting

FortiGate-5000 series Administration Guide
Example
This example shows how to enable logging to a FortiLog unit, set the FortiLog IP
address, add a local ID, and add a pre-shared key for an IPSec VPN tunnel.
config log fortilog setting
set status enable
set server 192.168.100.1
set localid net_host_c
set psksecret J7fram54AhTWmoF5
end
This example shows how to display the log setting for logging to a FortiLog unit.
get log fortilog setting
This example shows how to display the configuration for logging to a FortiLog unit.
show log fortilog setting
If the show command returns you to the prompt, the settings are at default.
Note: The only command keyword for syslog setting that is not represented in the web-
based manager is the facility keyword.
Use this command to configure log settings for logging to a remote syslog server.
You can configure the FortiGate unit to send logs to a remote computer running a
syslog server.
Command syntax pattern
config log syslogd setting
set <keyword> <variable>
config log syslogd setting
unset <keyword>
get log syslogd setting
show log syslogd setting
log syslogd setting command keywords and variables
Keywords and
variables
csv
{disable | enable}
01-28008-0013-20050204
Description
Enter enable to enable the FortiGate unit
to produce the log in Comma Separated
Value (CSV) format. If you do not enable
CSV format the FortiGate unit produces
plain text files.
CLI configuration
Default
Availability
All models.
disable
367

Advertisement

Table of Contents
loading

Table of Contents