A service logs 50,000 identical `connection refused` lines per minute during an outage. How do you handle that?

BeginnerScenarioLogging Pipelines
Answer

Situation read → Log storms during incidents can overload the pipeline exactly when you need it.

What I'd do →

  1. In the app, rate-limit or deduplicate repeated errors (log once with a count every N seconds).
  2. In the shipper, throttle: Vector throttle transform, Fluent Bit throttle filter.
  3. Make sure per-stream limits in Loki protect other tenants.
  4. Track error rate as a metric instead, so the signal is not lost when logs are throttled.

Why → One error per second tells you the same as 800 per second, at a fraction of the cost.

Interview tip → Log storms are a classic way the observability stack fails during incidents.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Logging Pipelines