Replies: 2 comments
|
1- Since you already have OTLP receivers configured, use them to receive logs directly from your applications. This provides immediate trace-log correlation without extra work. |
|
Both work technically — a single Collector can run a traces pipeline (→ Jaeger) and a logs pipeline (→ Elasticsearch) side by side. So the question is really an operational one, and here's how I'd decide it. Keep Filebeat for logs if: it's already working and you have no concrete pain with it. "Migrate working log infra" is a cost with little upside unless you're consolidating on OTLP on purpose. Smallest change wins. Move logs onto the Collector if: you specifically want one agent / one config surface / OTLP end-to-end, or you want resource attributes and processors shared between signals. That's a real benefit — but it's a consolidation decision, not a "this is better" one. The one thing I'd push back on regardless of which way you go: don't run both signals in a single Collector process if log volume is significant. Logs are usually far higher volume than traces, and in one process they share the same Also, a config nit in your manifest: memory_limiter:
limit_percentage: 75
spike_limit_percentage: 1 # <- too low
Net: if Filebeat works, keeping it is the lower-risk choice; consolidate onto the Collector only if you actually want OTLP-everywhere — and if you do, split traces and logs into separate Collector deployments rather than one process. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Component(s)
No response
Describe the issue you're reporting
I’d like some production advice on my current OpenTelemetry Collector setup.
Right now, I’m evaluating whether it is a good idea to use a single OpenTelemetry Collector deployment for both:
traces → forwarded to Jaeger
logs → forwarded to Elasticsearch
Or whether it is better in production to keep:
OpenTelemetry Collector for traces
Filebeat for logs
My environment already has Elasticsearch and Filebeat in place, and Filebeat is currently handling logs.
This is the collector manifest I am testing:
In real production environments, is it common to keep traces and logs in the same collector deployment,
or do most teams separate them?
For a setup that already uses Elasticsearch + Filebeat, would you keep Filebeat for logs and use OTel only for traces?
Is using one collector for both signals a reasonable production pattern, or does it usually create operational problems under load?
Are there any obvious issues in this manifest from a production perspective?
Thank you in advance
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it. Learn more here.All reactions