Configure Data Retention Policies
The Policies tab enables you to manage Data Retention settings. You can configure global settings that apply to all clusters and retention settings specific to the selected cluster.
The configuration settings are organized into two sections: Cleanup Schedule and Data Retention.
- All Clusters: The configuration settings apply to all clusters in Pulse.
- This Cluster: The configuration settings apply only to the selected cluster.
Navigation
- In the Pulse UI, select Tools from the left navigation menu.
- Select Data Retention > Policies.
- Select the required cluster from the cluster switcher.

Cleanup Schedule (Applies to All Clusters)
Configure the cleanup frequency and metrics data retention period. These settings apply to all clusters in Pulse.
Setting | Description | Default value | Supported range |
Cron Schedule | Specify how frequently cleanup runs using a five-field cron expression. | 0 0 * * * (daily at midnight) | Minimum interval of 1 minute |
VM Retention (days) | Specify the number of days to retain metrics data in VictoriaMetrics. | 31 days | 1–500 days |
Notes:
- Changes to VM Retention (days) take effect only after you restart the VictoriaMetrics storage containers.
- Updating VictoriaMetrics retention is currently not supported for Pulse deployments on Kubernetes. Although you can modify the value in the Pulse UI, the changes are not applied to VictoriaMetrics storage.
Data Retention (Applies to the Selected Cluster)
Configure the data retention periods, MongoDB cleanup hours, and cleanup history retention count. These settings apply only to the selected cluster.
Setting | Description | Default value | Supported range |
Mongo Retention (days) | Specify the number of days to retain MongoDB documents. Documents older than the configured retention period are eligible for deletion. | 15 days | 1–500 days |
Elastic Retention (days) | Specify the number of most recent matching Elasticsearch indices to retain. Retention is based on the number of indices, not calendar days. | 5 indices | 1–500 indices |
Mongo Cleanup Hours | Specify the hours of the day during which scheduled MongoDB cleanup can run. You can select multiple hours. This setting takes precedence over the cron schedule for MongoDB cleanup and applies only when the scheduled cleanup runs multiple times a day. | 0 (midnight) | 0–23 hours |
Delete Log Retention Count | Specify the number of most recent cleanup history entries to retain for the selected cluster. | 50 entries | 1–10,000 entries |
After updating the settings, select Review Policy Changes. You can preview the changes you made and click Save Policies.

Have a suggestion?