Fortinet black logo

data-purge

data-purge

Syntax

data-purge <option>

Option

Description

-a

Purge all the data in the database including deployment settings, events, incidents, and alerts.

-d

Purge the detection results from database, including events, incidents, and alerts.

-t

Purge campaigns that happened before a specific time (MM/DD/YYYY-HH:MM:SS). For example, to purge data by time use: data-purge -d -t04/19/2021-12:15:35

You do not need to provide a timezone. FortiDeceptor wil use the timezone configured on your device.

For example, running data-purge -d -t04/19/2021-12:15:35 in PDT time, will purge the corresponding data before 04/19/2021-12:15:35 PDT or 04/19/2021-19:15:35 UTC.

-k<N>

Automatically purges data older than the specified number of days where N represents 1-365 days.

For example, to purge data older than 10 days : data-purge -k10

This option cannot be used with other options.

-s

Show the configuration for automatic purge.

data-purge

Syntax

data-purge <option>

Option

Description

-a

Purge all the data in the database including deployment settings, events, incidents, and alerts.

-d

Purge the detection results from database, including events, incidents, and alerts.

-t

Purge campaigns that happened before a specific time (MM/DD/YYYY-HH:MM:SS). For example, to purge data by time use: data-purge -d -t04/19/2021-12:15:35

You do not need to provide a timezone. FortiDeceptor wil use the timezone configured on your device.

For example, running data-purge -d -t04/19/2021-12:15:35 in PDT time, will purge the corresponding data before 04/19/2021-12:15:35 PDT or 04/19/2021-19:15:35 UTC.

-k<N>

Automatically purges data older than the specified number of days where N represents 1-365 days.

For example, to purge data older than 10 days : data-purge -k10

This option cannot be used with other options.

-s

Show the configuration for automatic purge.