Fortinet black logo

Handbook (HTML)

config system mapping

config system mapping

The config system mapping command allows you to configure FortiDB to collect audit and alert data for FortiMonitor and transmit it via SSH File Transfer Protocol (SFTP).

FortiMonitor integration with FortiDB requires a FortiDB administrator with the name fortisiem. For more information, see FortiMonitor administrator.

Syntax

config system mapping

set status {enable | disable}

set limit-file <limit-file_int>

set scan-cycle <scan-cycle_int>

set range-start <date_str>

set range-end <date_str>

end

where:

Variable Description Default
status {enable | disable} Enable or disable data collection and transmission for FortiDB. disable
limit-file <limit-file_int>

Enter the maximum number of SFTP files the feature generates.

Generating too many SFTP files can fill the appliance hard disk.

1000
scan-cycle <scan-cycle_int>

Enter a value that specifes how long FortiDB pauses between collection cycles for FortiMonitor, in seconds.

Adding pauses in data collection allows system resources to be available for target monitoring and other tasks.

When you use smaller values, FortiDB collects data more quickly.

20
set range-start <date_str>

Enter the date and time to start collecting data for FortiMonitor using the format mm/dd/yyyy-hh:mm:ss, where:

  • mm is the month. Valid months are 01 to 12.
  • dd is the day of the month. Valid days are 01 to 31.
  • yyyy is the year. Valid years are 2001 to 2037.
  • hh is the hour. Valid hours are 00 to 23.
  • mm is the minute. Valid minutes are 0 to 59.
  • ss is the second. Valid seconds are 0 to 59.
No default.
set range-end <date_str>

Optionally, enter the date and time to stop collecting data for FortiMonitor.

If you do not specify this options, FortiDB collects data continuously after the specified start time.

No default.

Examples

The following example starts data collection for FortiMonitor at a specific date and time with no specified stop time.

config system mapping

set status enable

set range-start 6/10/2014-16:26:23

end

The following example specifies data collection for FortiMonitor with both a start and stop time.

set status enable

set range-start 6/10/2014-00:00:00

set range-start 7/10/2014-23:59:59

end

config system mapping

The config system mapping command allows you to configure FortiDB to collect audit and alert data for FortiMonitor and transmit it via SSH File Transfer Protocol (SFTP).

FortiMonitor integration with FortiDB requires a FortiDB administrator with the name fortisiem. For more information, see FortiMonitor administrator.

Syntax

config system mapping

set status {enable | disable}

set limit-file <limit-file_int>

set scan-cycle <scan-cycle_int>

set range-start <date_str>

set range-end <date_str>

end

where:

Variable Description Default
status {enable | disable} Enable or disable data collection and transmission for FortiDB. disable
limit-file <limit-file_int>

Enter the maximum number of SFTP files the feature generates.

Generating too many SFTP files can fill the appliance hard disk.

1000
scan-cycle <scan-cycle_int>

Enter a value that specifes how long FortiDB pauses between collection cycles for FortiMonitor, in seconds.

Adding pauses in data collection allows system resources to be available for target monitoring and other tasks.

When you use smaller values, FortiDB collects data more quickly.

20
set range-start <date_str>

Enter the date and time to start collecting data for FortiMonitor using the format mm/dd/yyyy-hh:mm:ss, where:

  • mm is the month. Valid months are 01 to 12.
  • dd is the day of the month. Valid days are 01 to 31.
  • yyyy is the year. Valid years are 2001 to 2037.
  • hh is the hour. Valid hours are 00 to 23.
  • mm is the minute. Valid minutes are 0 to 59.
  • ss is the second. Valid seconds are 0 to 59.
No default.
set range-end <date_str>

Optionally, enter the date and time to stop collecting data for FortiMonitor.

If you do not specify this options, FortiDB collects data continuously after the specified start time.

No default.

Examples

The following example starts data collection for FortiMonitor at a specific date and time with no specified stop time.

config system mapping

set status enable

set range-start 6/10/2014-16:26:23

end

The following example specifies data collection for FortiMonitor with both a start and stop time.

set status enable

set range-start 6/10/2014-00:00:00

set range-start 7/10/2014-23:59:59

end