execute retention-setting
Use this command to set the Time-to-Live (TTL) for FortiNDR log tables. The setting applies in both standalone and sensor modes and persists across reboots and power cycles.
Syntax
execute retention-setting <'service name'> <retention days>
| Variable | Description |
|---|---|
|
'service name' |
The specific retention category for FortiNDR data. Valid options (enclosed in single quotes):
|
|
retention days |
Number of days to retain data. Must be an integer between 1 and 264 (inclusive). Default values:
|
Example
execute retention-setting 'Network Events' 90
The command enforces the software’s supported limits and helps estimate data retention based on average AV and NDR throughput across VM and physical models.