362 01-28006-0003-20041105 Fortinet Inc.
fortilog setting Log & Report
5 In the Keywords field, type the keywords for the search.
6 Select OK.
The log message list shows only the logs that meet your log search criteria.
CLI configuration
This guide only covers Command Line Interface (CLI) commands and command
keywords that are not represented in the web-based manager. For complete
descriptions of working with CLI commands see the FortiGate CLI Reference Guide.
fortilog setting
Use this command to configure log settings for logging to a FortiLog unit.
The FortiLog unit is a log analyzer and manager that can combine the log information
from various FortiGate units.
Command syntax pattern
config log fortilog setting
set <keyword> <variable>
config log fortilog setting
unset <keyword>
get log fortilog setting
show log fortilog setting
all of the following The message must contain all of the keywords
any of the following The message must contain at least one of the keywords
none of the following The message must contain none of the keywords
Note: The command keywords for fortilog setting that are not represented in the web-
based manager are localid and psksecret.
log fortilog setting command keywords and variables
Keywords and
variables
Description Default Availability
encrypt
{enable | disable}
Enter enable to enable encrypted
communication with the FortiLog unit.
disable All models.
localid <str_id> Enter the local ID for an IPSec VPN tunnel
to a FortiLog unit. You can create an IPSec
VPN tunnel if one or more FortiGate units
are sending log messages to a FortiLog
unit across the Internet. Using an IPSec
VPN tunnel means that all log messages
sent by the FortiGate are encrypted and
secure.
No
default.
All models.