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