Submit feedback on
Unnecessary Default Log Retention in Datadog
We've received your feedback.
Thanks for reaching out!
Oops! Something went wrong while submitting the form.
Close
Unnecessary Default Log Retention in Datadog
Jérémy Nancel
Service Category
Other
Cloud Provider
Datadog
Service Name
Inefficiency Type
Excessive Retention Configuration
Explanation

Many organizations keep Datadog’s default log retention settings without evaluating business requirements. Defaults may extend retention far beyond what is useful for troubleshooting, performance monitoring, or compliance. This leads to unnecessary storage and indexing costs, particularly in non-production environments or for logs with limited value after a short period. By adjusting retention per project, environment, or service, organizations can reduce spend while still meeting compliance and operational needs.

Relevant Billing Model

Datadog bills based on the volume of ingested logs, traces, and metrics, as well as the length of their retention. Longer retention periods increase storage costs proportionally, regardless of whether historical data provides business value.

Detection
  • Identify services where default Datadog log retention settings are in place without business justification
  • Compare retention length across projects, environments, and service types (general logs, error logs, APM traces, metrics)
  • Validate whether business, compliance, or audit requirements justify keeping logs for the current duration
  • Evaluate whether shorter retention windows would still support operational monitoring and troubleshooting needs
Remediation
  • Work with stakeholders to align log retention periods with business and compliance requirements
  • Reduce Datadog retention settings per service type (logs, traces, metrics) to the minimum necessary for value delivery
  • Implement differentiated retention policies by environment (production vs. non-production) or by log type
  • Regularly review retention policies as requirements evolve to avoid reverting to unnecessary defaults
Relevant Documentation
Submit Feedback