Fortinet black logo

CLI reference

execute center-retention-setting

execute center-retention-setting

Use this command to update FortiNDR data retention settings in Center mode.

Syntax

execute center-retention-setting <'service name'> < retention days >

Variable

Description

'service name'

Select the retention setting for FortiNDR data. Available service names are:

  • Network Events
  • File Events
  • Sensor Monitor Data
  • Machine Learning Data

Ensure the service name is enclosed in single quotes (‘).

retention days

Data retention in days. Valid range is from 1 – 730 days

execute center-retention-setting

Use this command to update FortiNDR data retention settings in Center mode.

Syntax

execute center-retention-setting <'service name'> < retention days >

Variable

Description

'service name'

Select the retention setting for FortiNDR data. Available service names are:

  • Network Events
  • File Events
  • Sensor Monitor Data
  • Machine Learning Data

Ensure the service name is enclosed in single quotes (‘).

retention days

Data retention in days. Valid range is from 1 – 730 days