Design a log pipeline for 10 TB a day from 20,000 hosts
Size agents, a durable queue and hot and cold storage for 10 TB a day, and decide what to shed when the pipeline is overloaded.
Prompt
A fleet of 20,000 hosts writes 10 TB of logs a day, with peaks at 3 times the average. Engineers search the last 7 days interactively and must be able to retrieve anything from the last 90. Design collection, transport, storage and query, and say what is dropped first when the pipeline cannot keep up.
Questions worth clarifying
- Freshness: a line is searchable within 60 s in normal running
- Last 7 days searchable in seconds; days 8 to 90 retrievable in minutes
- Audit and security logs are never dropped; debug logs may be
- A logging outage must not slow or stop the applications that write logs
- Per-service quotas, so one noisy service cannot use everyone's capacity
Inputs you will estimate from
Raw logs per dayHostsPeak to averageAgent buffer windowThroughput per partitionQueue retentionHot retentionTotal retentionIndexed size / rawCold compression
Open to everyone until Pro goes on sale · sign in to save your attemptOpen the workbench with live capacity math
Open in the app