Skip to content

Build a Log Aggregator

Build a Loki/Splunk-style log aggregator: ingest log lines via HTTP, structure them into label-keyed streams, store as compressed chunks, query by label + substring/regex (LogQL-style), aggregate over time, manage retention, and alert on thresholds. The observability stack every team eventually builds.

advanced10 lessons4 chapters10 graded exercisesPython

No sign-up needed for lesson 1 · certificate on completion · sign up to save progress

What you’ll have built

Chapter by chapter. Every step is a graded exercise.

  • Ingestion
  • Storage & Indexing
  • Query
  • Operations
Starts in Python — solve in the language you choose in the editor, same tests either way.

Curriculum

4 chapters, 10 lessons. Each lesson is a short read, one graded exercise, and a quiz.

  1. 1Why Centralized Logs?Read · exercise · quiz
  2. 2Labels vs Free TextRead · exercise · quiz
  3. 3Tailing & BatchingRead · exercise · quiz
Loading reference solution…
Build a Log Aggregator