RENDER_ECS_DOTNET
Render a LogEvent into JSON to mimic that described in Elastic Common Schema for .NET.
It populates ECS fields as follows:
timestamp
->@timestamp
host
->host.name
logger
-> alog
object withlogger
fieldlevel
->log.level
message
(evaluated template) ->message
template
(if present) ->message_template
field inmetadata
objectIf
stackTrace
is present:stackTrace
->error.stack_trace
message
(evaluated template) ->error.message
context
(if present) ->context
inlabels
objectitems
(if present) ->metadata
(object)