Design centralized logging with agents, buffering, indexing, and search. High ingest volume and retention costs drive tiering and sampling strategies.
Functional requirements
- Ingest logs/metrics from agents and apps
- Parse and index structured fields
- Search and tail with RBAC
- Retention tiers and archival to object storage
Non-functional requirements
- Write-heavy throughput with near-real-time search
- Multi-tenant quotas and isolation
- Cost-aware storage lifecycle