Преглед на файлове

修改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)