[Bug] Data-Prepper otel_logs_source
: Incorrect OTLP Log Structure Mapping
#5455
Labels
otel_logs_source
: Incorrect OTLP Log Structure Mapping
#5455
Bug Description
The Data-Prepper's
otel_logs_source
pipeline is generating documents that don't follow the OpenTelemetry log data model specification. The current implementation incorrectly maps fields and doesn't maintain the standard OTEL log record structure.Current Behavior
Currently, the Data Prepper pipeline generates documents with this incorrect structure:
Expected Behavior
The OpenTelemetry Collector's OpenSearch Exporter already implements the correct structure, following both the OTEL specification and ss4o. Here's an example of the same log being correctly formatted by the OpenSearch Exporter:
Key differences and issues:
Field Names:
Structure Issues:
Missing Standard Fields:
Steps to Reproduce
otel_logs_source
pipelinePipeline Configuration
Environment
Impact
Questions
The text was updated successfully, but these errors were encountered: