diff --git a/pkg/utils/log/log.go b/pkg/utils/log/log.go index 576850f7ee..35f91d6746 100644 --- a/pkg/utils/log/log.go +++ b/pkg/utils/log/log.go @@ -74,7 +74,7 @@ func setLogger(v *int) { encoderConf.MessageKey = "message" encoderConf.TimeKey = "@timestamp" encoderConf.LevelKey = "log.level" - encoderConf.NameKey = "log.logger" + encoderConf.NameKey = "event.dataset" encoderConf.StacktraceKey = "error.stack_trace" encoderConf.EncodeTime = zapcore.ISO8601TimeEncoder encoder = zapcore.NewJSONEncoder(encoderConf)