Prompt
What should I use for centralized log search across microservices?
Latest observation
Oct 27, 2026
OpenAI APIWeb search: off
For centralized log search across microservices, the most common and practical choice is:
Best general-purpose option
Elasticsearch + Kibana (often via the ELK/EFK stack)
- Elasticsearch indexes logs for fast searching
- Kibana provides the UI for querying, dashboards, and alerts
- Usually paired with Logstash or Fluent Bit/Fluentd to ship logs
Why it’s popular
- Great full-text search
- Scales well for many services
- Mature ecosystem
- Supports structured JSON logs, filtering by service, pod, trace ID, etc.
Good alternatives
Grafana Loki
- Better if you want something simpler and cheaper to operate
- Stores labels/indexes lightly, not every log line
- Integrates nicely with Grafana
- Best when you already use Prometheus/Grafana and want basic-to-good log search
Tradeoff: search is not as powerful as Elasticsearch for arbitrary full-text queries.
Datadog / Splunk / New Relic / Elastic Cloud
- Best if you want managed SaaS
- Much less operational overhead
- Strong observability features: logs, metrics, traces, alerting
Tradeoff: higher cost, vendor lock-in.
My recommendation by scenario
- Need powerful search and are okay running infra:
Elasticsearch + Kibana - Want easier, cheaper ops and already use Grafana:
Loki + Grafana - Want turnkey observability and don’t mind cost:
Datadog or Splunk
What to make sure you have regardless of stack
- Structured JSON logs
- A shared correlation/request ID
- Consistent fields like:
serviceenvironmenttrace_idspan_idleveltimestamp
- Log shipping agent like:
- Fluent Bit
- Vector
- Filebeat
If you tell me your environment (Kubernetes vs VMs, cloud provider, budget, and scale), I can recommend the best fit more specifically.