Interview Prep/Monitoring & Observability/Cloud Monitoring, Incidents and Migrations

You need to move from a self-managed ELK stack to Loki without losing logs or blocking developers. What is your plan?

AdvancedScenarioCloud Monitoring, Incidents and Migrations
Answer

Situation read → Query language, retention and habits all change. Big-bang cutovers fail.

What I'd do →

  1. Prepare Loki with sensible labels (namespace, app, env) and structured metadata for high-cardinality fields.
  2. Dual-ship: configure Fluent Bit (or Alloy) with two outputs, Elasticsearch and Loki.
  3. Translate key saved searches and alerts from KQL to LogQL; publish a cheat sheet.
  4. Run in parallel for one retention period; compare volumes per service.
  5. Move alerts first, then dashboards, then switch developers' default.
  6. Keep ES read-only until old data expires, or export what compliance needs to object storage.

Why → Dual-shipping removes risk; ES ages out naturally.

Interview tip → Mention that full-text heavy use cases (security search) may still need an indexed store.

All Monitoring & Observability questions

More on Cloud Monitoring, Incidents and Migrations