Use Case
Reduce observability cost quickly
Cut spend by removing low-value logs before they become billable.
Problem
Observability spend can rise faster than revenue when all telemetry is indexed.
Teams delay optimization until bills become disruptive.
Example
A growing product forwards full log streams to Datadog across all environments.
Monthly budget planning becomes unstable because noisy traffic is unbounded.
Solution (LogTrim)
Define keep, sample, and drop categories with clear ownership.
Apply policy pre-ingestion and store complete history in S3 for low-cost retention.
Track reduction goals by service and revisit policy each quarter.
Continue to full guide
Review the complete implementation guide and rollout strategy for this use case.