Prompt
What should I use for hot and cold log storage?
Latest observation
Oct 28, 2026
OpenAI APIWeb search: off
A good hot vs. cold log storage setup usually looks like this:
Hot storage
Use this for recent logs you need to search and alert on quickly.
Good options:
- Elasticsearch / OpenSearch
Best if you need full-text search, dashboards, and fast querying. - Grafana Loki
Good if you want lower-cost log aggregation and mainly query by labels. - Cloud-native hot tiers
- AWS OpenSearch Service
- Azure Monitor / Log Analytics
- GCP Cloud Logging
Typical hot retention: 7–30 days
Cold storage
Use this for older logs kept for compliance, audit, or occasional investigation.
Good options:
- Object storage
- Amazon S3
- Azure Blob Storage
- Google Cloud Storage
- Use archive tiers for lower cost:
- S3 Glacier / Glacier Deep Archive
- Azure Archive Storage
- GCS Archive/Coldline
Typical cold retention: months to years
Common pattern
- Ship logs to a pipeline/collector
- Index recent logs into hot storage
- Lifecycle policy moves older logs into cold object storage
- Optionally compress and partition by time/service/env
Practical recommendation
- If you need fast search and observability:
OpenSearch/Elasticsearch for hot + S3/Blob/GCS for cold - If you want cheaper and simpler log storage:
Loki for hot + object storage for long-term retention - If you’re cloud-first and want managed services:
Use your cloud provider’s log analytics for hot and object storage archive tier for cold
If you want, I can suggest a specific stack based on your cloud provider, log volume, and retention requirements.