Dynatrace automatically enriches logs ingested both via API.
The Log ingestion API automatically transforms status, severity, level, and syslog.severity severity keys to the loglevel attribute.
The input values for the status, severity, level, and syslog.severity severity keys are transformed (transformation is not case sensitive) into output values for the loglevel attribute based on the following mapping:
Additionally, for each log event, a status attribute is created with a value that is a sum of loglevel values based on the following grouping:
For example:
The level severity key in the Log ingestion API request parameter contains the value serious.
level severity key is transformed into the loglevel attribute with the serious value mapped to SEVERE based on the above table.loglevel attribute containing the SEVERE value is grouped into status attribute. Based on the grouping table above, the status attribute will contain the ERROR value.ERRORSEVERE