As far as I can tell, there's currently no way to set the version property on logs, in the same way you can set the service or source. Attempting to set it through the tags configuration doesn't work, because these all get combined and added as ddtags:
As far as I can tell, there's currently no way to set the
version
property on logs, in the same way you can set theservice
orsource
. Attempting to set it through thetags
configuration doesn't work, because these all get combined and added asddtags
:https://github.com/DataDog/serilog-sinks-datadog-logs/blob/9757cf910386f4f45a8f3ca459ee5db34fa3e2f8/src/Serilog.Sinks.Datadog.Logs/Sinks/Datadog/DatadogLogRenderer.cs#L32C36-L32C36
Customers should be able to optionally specify the
version
tag as part of configuration, here:https://github.com/DataDog/serilog-sinks-datadog-logs/blob/master/src/Serilog.Sinks.Datadog.Logs/Configuration/Extensions/Microsoft.Extensions.Configuration/LoggerConfigurationDatadogLogsExtensions.cs#L46-L51