374
01-28006-0010-20041105
Fortinet Inc.
CLI configuration
Log & Report
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.
syslogd setting
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
Note:
The only command keyword for
syslog setting
that is not represented in the web-
based manager is the
facility
keyword.
log syslogd setting command keywords and variables
Keywords and
variables
Description
Default
Availability
csv
{disable | enable}
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.
disable
All models.
Содержание FortiGate 3000
Страница 18: ...Contents 18 01 28006 0010 20041105 Fortinet Inc ...
Страница 52: ...52 01 28006 0010 20041105 Fortinet Inc Changing the FortiGate firmware System status ...
Страница 78: ...78 01 28006 0010 20041105 Fortinet Inc FortiGate IPv6 support System network ...
Страница 86: ...86 01 28006 0010 20041105 Fortinet Inc Dynamic IP System DHCP ...
Страница 116: ...116 01 28006 0010 20041105 Fortinet Inc FortiManager System config ...
Страница 122: ...122 01 28006 0010 20041105 Fortinet Inc Access profiles System administration ...
Страница 252: ...252 01 28006 0010 20041105 Fortinet Inc CLI configuration Users and authentication ...
Страница 390: ...390 01 28006 0010 20041105 Fortinet Inc Glossary ...
Страница 398: ...398 01 28006 0010 20041105 Fortinet Inc Index ...