Document toolboxDocument toolbox

Configuring Data Retention Period

The Legacy Data Connector retains data in its output folders for a limited period due to limited file system space. You can define global data retention period that is applicable to all data outputs. By default, the Legacy Data Connector can hold data in its output folders for four hours. You can configure the retention period from a minimum of one hour up to 720 hours (30 days).

To configure the global data retention period, you can log in to the Data Connector CLI and run the following command:

data.destination.global > set retention <Enter the duration in hours or days>

Example

data.destination.global > set retention 4h 

ok

To view the configured data retention period, you can run the following command:

data.destination.global > show retention
4 hours