|
@@ -67,8 +67,9 @@ func (s *LogPushCloudflareServer) CreateLogPushJobByZoneId(ctx context.Context,
|
|
|
Enabled: true,
|
|
|
Frequency: "low",
|
|
|
LogpullOptions: "fields=ClientIP,ClientCountry,ClientRequestMethod,ClientRequestProtocol," +
|
|
|
- "ClientRequestHost,ClientRequestPath,ClientRequestURI,EdgeResponseStatus,EdgeResponseBytes,ClientRequestUserAgent," +
|
|
|
- "CacheCacheStatus,CacheResponseBytes,EdgeStartTimestamp,EdgeEndTimestamp×tamps=rfc3339,",
|
|
|
+ "ClientRequestHost,ClientRequestPath,ClientRequestURI,ClientRequestBytes," +
|
|
|
+ "EdgeResponseStatus,EdgeResponseBytes,ClientRequestUserAgent,CacheCacheStatus,CacheResponseBytes," +
|
|
|
+ "EdgeStartTimestamp,EdgeEndTimestamp×tamps=rfc3339,",
|
|
|
OwnershipChallenge: requestCloudflare.GetOwnershipChallenge(),
|
|
|
}
|
|
|
result, err := api.CreateZoneLogpushJob(ctxAPI, requestCloudflare.GetZoneId(), job)
|