diff --git a/src/sinks/datadog/logs/sink.rs b/src/sinks/datadog/logs/sink.rs index fd2f132d13f85..2dfec8dd9b9e6 100644 --- a/src/sinks/datadog/logs/sink.rs +++ b/src/sinks/datadog/logs/sink.rs @@ -134,7 +134,7 @@ impl crate::sinks::util::encoding::Encoder> for JsonEncoding { log.rename_key(message_path.as_str(), event_path!("message")); if let Some(host_path) = log.host_path() { - log.rename_key(host_path.as_str(), event_path!("hostname")); + log.rename_key(host_path.as_str(), event_path!("host")); } if let Some(Value::Timestamp(ts)) = log.remove(