瀏覽代碼

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

ChenHaolong 1 年之前
父節點
當前提交
65164ae785
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)