diff --git a/x-pack/auditbeat/module/system/host/host.go b/x-pack/auditbeat/module/system/host/host.go index 757fec1eb4db..9aa0f7fb2e72 100644 --- a/x-pack/auditbeat/module/system/host/host.go +++ b/x-pack/auditbeat/module/system/host/host.go @@ -350,9 +350,7 @@ func hostEvent(host *Host, eventType string, action eventAction) mb.Event { } // Copy select host.* fields in case add_host_metadata is not configured. - hostTopLevel := common.MapStr{ - "name": host.Hostname, - } + hostTopLevel := common.MapStr{} hostFields.CopyFieldsTo(hostTopLevel, "architecture") hostFields.CopyFieldsTo(hostTopLevel, "containerized") hostFields.CopyFieldsTo(hostTopLevel, "hostname")