Design Centralized Log Search for Fulfillment Center Systems
Last updated: November 29, 2026
Quick Overview
Design a system that collects application logs from thousands of hosts and devices across Amazon fulfillment centers and lets engineers search the last 14 days by text, host, site and time within seconds.
Amazon
November 29, 20260
0
0 solved
Design a system that collects application logs from thousands of hosts and devices across Amazon fulfillment centers and lets engineers search the last 14 days by text, host, site and time within seconds.
A practical observability design asked by Amazon operations technology teams. The interviewer checks the ingest pipeline, indexing cost, retention tiers, and what happens when a site's network link to the region is degraded.
What the Interviewer Expects
- Ship logs with a local agent that buffers to disk
- Ingest through a partitioned stream to decouple producers from indexers
- Index selectively: structured fields plus full text with time partitioned indexes
- Tier storage: hot searchable index, then cheap object storage
- Handle site network outages and backfill
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How would you cut indexing cost by 5x?
- How do you keep a noisy service from flooding the index?
- How do you query logs that are older than the hot window?
- How would you protect sensitive fields like customer addresses?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: ingest logs from services in each FC (sortation, robotics controllers, labeling) and regional backends; search by time range, site, service, host, level and free text; live tail for on...
High-Level Design
- Agent on each host tails files, parses common formats into JSON with fields (timestamp, site, service, level, message), and buffers to local disk.
- Site relay: an on-site collector aggreg...