26 / 67 · 06 Observability-Driven Testing · Structured Logging Best Practices← prev⊞ allnext →☰ Read as one page
4.7Log Aggregation Architecture
[Service A] [Service B] [Service C]
stdout stdout stdout
| | |
v v v
[Log Collector: Fluentd / Fluent Bit / Vector]
|
v
[Log Storage: Elasticsearch / Loki / CloudWatch Logs]
|
v
[Query UI: Kibana / Grafana / CloudWatch Insights]
|
v
[Alerting: based on log patterns and frequency]
Tool Recommendations
| Component | Recommended | Alternative |
|---|---|---|
| Collection | Fluent Bit (low resource) | Fluentd, Vector |
| Storage | Grafana Loki (cost-effective) | Elasticsearch, CloudWatch |
| Query | Grafana (LogQL) | Kibana (KQL), CloudWatch Insights |
| Alerting | Grafana Alerts | ElastAlert, CloudWatch Alarms |