Skip to content

Commit

Permalink
Update docs/contributor/pocs/otlp-logs.md
Browse files Browse the repository at this point in the history
Co-authored-by: Stanislav Khalash <[email protected]>
  • Loading branch information
chrkl and Stanislav Khalash authored Feb 2, 2024
1 parent 87c7f13 commit 94c4ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/contributor/pocs/otlp-logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ This processed log record arrives in the SAP Cloud Logging (OpenSearch):
The OpenTelemetry Collector configuration moves all JSON fields to the `attribtues` map. The user given log message, which emitted in the `msg` JSON field, is moved to the OTLP `body` field.
The `level` JSON field is used to determine `severityName` and `severityNumber` fields. The mapping is done automatically using the severity_parser operator.
Operators for the filelog receiver determine the emitting Pod. Other resource attributes are added by the k8sattributes processor to fulfill the semantic conventions.
The k8sattributes processor is alos used to create resource attributes for pod labels. The same could be done with annotations.
The k8sattributes processor is also used to create resource attributes for pod labels. The same could be done with annotations.
An operator for the filelog receiver preserves the originating filesystem path of the record to be compliant with the semantic conventions for logs.
In the used configuration, we move the original log record to the `original` attribute for debugging purposes.

Expand Down

0 comments on commit 94c4ef5

Please sign in to comment.