Elastic Observability + OpenTelemetry

Is it possible to enrich the log details of a Java Spring boot app log from OpenTelemetry with Elastic Common Schema? For e.g. if I add user.id as MDC key-value within my app and log a message, i will like for user.id to appear as metadata for that log.

Hi @starfall,

Welcome to the community! Are you using the OpenTelemetry Java agent or another technique such as a collector?

yes, i'm using the OpenTelemetry Java agent and we have a collector set up to send the logs to Kibana.