Ver Fonte

修改cloudflare推送日志时间戳字段的格式

ChenHaolong há 1 ano atrás
pai
commit
65164ae785
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      server/LogPushCloudflareServer.go

+ 1 - 1
server/LogPushCloudflareServer.go

@@ -69,7 +69,7 @@ func (s *LogPushCloudflareServer) CreateLogPushJobByZoneId(ctx context.Context,
 		LogpullOptions: "fields=ClientIP,ClientCountry,ClientRequestMethod,ClientRequestProtocol," +
 			"ClientRequestHost,ClientRequestPath,ClientRequestURI,ClientRequestBytes," +
 			"EdgeResponseStatus,EdgeResponseBytes,ClientRequestUserAgent,CacheCacheStatus,CacheResponseBytes," +
-			"EdgeStartTimestamp,EdgeEndTimestamp&timestamps=rfc3339,",
+			"EdgeStartTimestamp,EdgeEndTimestamp&timestamps=rfc3339",
 		OwnershipChallenge: requestCloudflare.GetOwnershipChallenge(),
 	}
 	result, err := api.CreateZoneLogpushJob(ctxAPI, requestCloudflare.GetZoneId(), job)