Under Traces only originating service logs are shown in Elasticsearch Kibana #9818
Unanswered
AyushCarb1
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Hard to guess without you providing how you've configured your otel java agent(s). Can you provide the full set of otel environment variables that you're setting, for each of the services? |
Beta Was this translation helpful? Give feedback.
1 reply
-
How are you generating logs, and is there a log bridge configured? I think this might be an instrumentation/agent issue, rather than the core libraries. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
We are using Opentelemetry agent (version: 1.27.0) in our services to emit logs, spans and metrics (auto-instrumentation).
There are in total 3 services involved and all of them are OTEL instrumented . Where the originating services makes a call to another service and that service internally calls another service .
We have OTEL collector which exports data to Elasticsearch APM .
Everything is deployed on AWS EKS .
Observation :
In Kibana, under traces sample we do not see the logs for all the services except that of the originating service .

Trace Sample :
Logs:

This environment variable is set in all the services involved :
OTEL_LOGS_EXPORTER=otlp
Reference : https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/README.md#otlp-exporter-span-metric-and-log-exporters
Questions:
Why don't we see the logs with each Trace for all the services ?
Can you please suggest if there are certain configurations involved to have the logs corresponding to each trace sample for all the spans ?
Note : even using Elasticsearch APM as the otel exporter end point we are observing the same.
Beta Was this translation helpful? Give feedback.
All reactions