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 →
- Prepare Loki with sensible labels (
namespace,app,env) and structured metadata for high-cardinality fields. - Dual-ship: configure Fluent Bit (or Alloy) with two outputs, Elasticsearch and Loki.
- Translate key saved searches and alerts from KQL to LogQL; publish a cheat sheet.
- Run in parallel for one retention period; compare volumes per service.
- Move alerts first, then dashboards, then switch developers' default.
- 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.
More on Cloud Monitoring, Incidents and Migrations
A new AWS workload uses EC2, an ALB and RDS, with only CloudWatch available. Which alarms do you create first?BeginnerThe CloudWatch bill jumped from $2k to $15k a month. How do you find and cut the cost?IntermediateYour company has 50 AWS accounts. How do you get one monitoring view?IntermediateYour team uses Prometheus and Grafana, but RDS, SQS and ALB metrics live only in CloudWatch. How do you unify?IntermediateHow do you monitor a fleet of AWS Lambda functions?BeginnerYour RDS PostgreSQL database gets slow every afternoon. What monitoring do you use to find out why?Beginner