|
@@ -67,8 +67,9 @@ func (s *LogPushCloudflareServer) CreateLogPushJobByZoneId(ctx context.Context,
|
|
Enabled: true,
|
|
Enabled: true,
|
|
Frequency: "low",
|
|
Frequency: "low",
|
|
LogpullOptions: "fields=ClientIP,ClientCountry,ClientRequestMethod,ClientRequestProtocol," +
|
|
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(),
|
|
OwnershipChallenge: requestCloudflare.GetOwnershipChallenge(),
|
|
}
|
|
}
|
|
result, err := api.CreateZoneLogpushJob(ctxAPI, requestCloudflare.GetZoneId(), job)
|
|
result, err := api.CreateZoneLogpushJob(ctxAPI, requestCloudflare.GetZoneId(), job)
|