Skip to content

Commit

Permalink
[EXPORTERS]: elastic search log message within message key instead of
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowMaxLeb committed Oct 18, 2024
1 parent 63683c1 commit 9cbd5d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporters/elasticsearch/src/es_log_recordable.cc
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ void ElasticSearchRecordable::SetSeverity(opentelemetry::logs::Severity severity

void ElasticSearchRecordable::SetBody(const opentelemetry::common::AttributeValue &message) noexcept
{
WriteValue(message, "body");
WriteValue(message, "message");
}

void ElasticSearchRecordable::SetTraceId(const opentelemetry::trace::TraceId &trace_id) noexcept
Expand Down

0 comments on commit 9cbd5d0

Please sign in to comment.