From 60d089d2e914a5752807b3fb1c351084763f72e1 Mon Sep 17 00:00:00 2001 From: Antoine Toulme Date: Thu, 26 Aug 2021 01:46:21 -0700 Subject: [PATCH] Add severity mapping from unified model to HEC (#1866) Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com> Co-authored-by: Bogdan Drutu Co-authored-by: Armin Ruech --- specification/logs/data-model.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/specification/logs/data-model.md b/specification/logs/data-model.md index 82ae2703282..b2df17d5864 100644 --- a/specification/logs/data-model.md +++ b/specification/logs/data-model.md @@ -668,6 +668,8 @@ Rest of SDIDs -> Attributes["syslog.*"] ### Splunk HEC +We apply this mapping from HEC to the unified model: + @@ -719,6 +721,35 @@ Rest of SDIDs -> Attributes["syslog.*"]
Field
+When mapping from the unified model to HEC, we apply this additional mapping: + + + + + + + + + + + + + + + + + + + + + + + + + + +
Unified model elementTypeDescriptionMaps to HEC
SeverityTextstringThe severity of the event as a human-readable string.fields['otel.log.severity.text']
SeverityNumberstringThe severity of the event as a number.fields['otel.log.severity.number']
NamestringShort event identifier that does not contain varying parts.fields['otel.log.name']
+ ### Log4j