Logs are the text trail every service leaves behind. Aggregating them into one searchable place is the floor of observability — without it you SSH into ten boxes during an incident. The Elastic Stack popularized the pattern; OpenSearch is the AWS-led OSS fork; Loki took a different path with index-the-labels, scan-the-logs.
← Back to Observability & Performance| Stack | Strength | Watch out for |
|---|---|---|
| ELK (Elasticsearch + Logstash + Kibana) | Mature, full-text search at scale, rich aggregations, alerts, ML add-ons. | License pivot to ELv2/SSPL in 2021; cluster ops are real work. |
| OpenSearch | Apache 2.0 OSS fork led by AWS; managed offering on AWS; mostly drop-in for ELK. | Versions diverging slowly from Elastic; some plugins differ. |
| Grafana Loki | Indexes only labels (cheap); stores chunks in S3-class object storage. Tight Grafana integration. | No full-text index — slow for needle-in-haystack searches without good labels. |
{"ts":..., "level":"error", "trace_id":...} beat free-text every time.log.info in a 100k req/s path can dominate your bill.