Skip to content

Commit 7244f60

Browse files
committed
Fix API endpoint
1 parent 5a6d0a0 commit 7244f60

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/content/docs/logs/instant-logs.mdx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,15 @@ Below we have three examples of filters:
6767
Example request using cURL:
6868

6969
<APIRequest
70-
path="/zones/{zone_id}/logpush/edge"
71-
method="POST"
72-
json={{
73-
fields: "ClientIP,ClientRequestHost,ClientRequestMethod,ClientRequestURI,EdgeEndTimestamp,EdgeResponseBytes,EdgeResponseStatus,EdgeStartTimestamp,RayID",
74-
sample: 100,
75-
filter: "",
76-
kind: "instant-logs"
77-
}}
70+
path="/zones/{zone_id}/logpush/edge/jobs"
71+
method="POST"
72+
json={{
73+
fields:
74+
"ClientIP,ClientRequestHost,ClientRequestMethod,ClientRequestURI,EdgeEndTimestamp,EdgeResponseBytes,EdgeResponseStatus,EdgeStartTimestamp,RayID",
75+
sample: 100,
76+
filter: "",
77+
kind: "instant-logs",
78+
}}
7879
/>
7980

8081
Response:

0 commit comments

Comments
 (0)