Browse Source

修改cloudflare推送日志的字段

ChenHaolong 1 year ago
parent
commit
3fd6a4205a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/LogPushCloudflareServer.go

+ 1 - 1
server/LogPushCloudflareServer.go

@@ -68,7 +68,7 @@ func (s *LogPushCloudflareServer) CreateLogPushJobByZoneId(ctx context.Context,
 		Frequency:       "low",
 		LogpullOptions: "fields=RayID,ZoneName," +
 			"ClientCountry,ClientIP,ClientRequestBytes,ClientRequestHost,ClientRequestPath," +
-			"EdgeResponseStatus,EdgeResponseBytes,EdgeStartTimestamp&timestamps=rfc3339,EdgeEndTimestamp&timestamps=rfc3339",
+			"EdgeResponseStatus,EdgeResponseBytes,EdgeStartTimestamp,EdgeEndTimestamp&timestamps=rfc3339",
 		OwnershipChallenge: requestCloudflare.GetOwnershipChallenge(),
 	}
 	result, err := api.CreateZoneLogpushJob(ctxAPI, requestCloudflare.GetZoneId(), job)