Overview
Retention policies control how long Monitoring stores metric, log, and flow data. Longer retention enables deeper historical analysis and incident review; shorter retention reduces storage costs. Downsampled metric retention provides long-term trend data at a fraction of the storage cost of raw metrics.Prerequisites
- Administrator credentials with the
adminrole - Confirmation from compliance and operations teams on required retention periods before reducing existing values
Recommended Retention Settings
Configuring Retention
- Dashboard
- CLI
Navigate to Monitor Center > Monitoring (Retention, admin view) and configure
retention for each data type.
- Select the data type (Metrics Raw, Metrics Downsampled, Logs, Flows)
- Enter the retention duration (e.g.,
30d,90d,1y) - Click Apply
Downsampling Configuration
Downsampling aggregates raw metric points into lower-resolution summaries at configurable intervals. This enables long-term retention at a fraction of the storage cost.Downsampled data retains statistical aggregates: min, max, sum, count, and average.
Exact per-second values are not recoverable after the raw data retention period expires.
Ensure raw retention is long enough for the typical incident investigation window.
Compliance Retention Requirements
For regulatory compliance, consult the following minimum retention guidelines:Next Steps
Log Collection
Control log ingestion volume by configuring which services are collected
Architecture
Understand storage layer sizing for your retention requirements
Security
Access controls for retention policy management
Troubleshooting
Diagnose storage pressure caused by high-cardinality metrics or high log volume
