Log & Report
fortilog setting
FortiGate-100A Administration Guide
01-28007-0068-20041203
353
get log fortilog setting
show log fortilog setting
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.
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.
psksecret
<str_psk>
Enter the pre-shared key for the 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.
server
<address_ipv4>
Enter the IP address of the FortiLog unit.
No
default.
All models.
status
{disable | enable}
Enter
enable
to enable logging to a
FortiLog unit.
disable
All models.
Note:
The IPSec VPN settings for the FortiGate unit must match the VPN settings on the
FortiLog unit.
Summary of Contents for FortiGate 100A
Page 12: ...Contents 12 01 28007 0068 20041203 Fortinet Inc ...
Page 24: ...24 01 28007 0068 20041203 Fortinet Inc FortiLog documentation Introduction ...
Page 72: ...72 01 28007 0068 20041203 Fortinet Inc Transparent mode VLAN settings System network ...
Page 80: ...80 01 28007 0068 20041203 Fortinet Inc DHCP IP MAC binding settings System DHCP ...
Page 114: ...114 01 28007 0068 20041203 Fortinet Inc Access profile options System administration ...
Page 232: ...232 01 28007 0068 20041203 Fortinet Inc Profile CLI configuration Firewall ...
Page 244: ...244 01 28007 0068 20041203 Fortinet Inc peergrp Users and authentication ...
Page 276: ...276 01 28007 0068 20041203 Fortinet Inc ipsec vip VPN ...
Page 338: ...338 01 28007 0068 20041203 Fortinet Inc Configuring the banned word list Spam filter ...
Page 356: ...356 01 28007 0068 20041203 Fortinet Inc syslogd setting Log Report ...
Page 374: ...374 01 28007 0068 20041203 Fortinet Inc Index ...