Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 72a7f55

Browse files
committed
reverse usage of utf-8 in README introduced in commit da73108
1 parent 28c0f26 commit 72a7f55

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

‎README.md‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ $ cli4 --post file=@zone.txt /zones/:example.com/dns_records/import
916916
}
917917
$
918918
```
919-
919+
920920
### Zone file upload (i.e. import) Python examples (uses BIND format files)
921921

922922
Because `import` is a reserved word in Python there needs to be a slight workaround to calling this within code.
@@ -1106,42 +1106,42 @@ The `cli4` command along with the Python libaries can be used to control the ins
11061106

11071107
To query the states of the instant logs:
11081108
```
1109-
$ cli4 /zones/:███████████.com/logpush/edge/jobs | jq .
1109+
$ cli4 /zones/:example.com/logpush/edge/jobs | jq .
11101110
[]
11111111
$
11121112
```
11131113

11141114
To add monitoring:
11151115
```
11161116
$ cli4 --post \
1117-
='{
1118-
"fields": "ClientIP,ClientRequestHost,ClientRequestMethod,ClientRequestURI,EdgeEndTimestamp,EdgeResponseBytes,EdgeResponseStatus,EdgeStartTimestamp,RayID",
1119-
"sample": 1,
1120-
"filter": "",
1121-
"kind": "instant-logs"
1122-
}' \
1123-
/zones/:███████████.com/logpush/edge/jobs | jq .
1117+
='{
1118+
"fields": "ClientIP,ClientRequestHost,ClientRequestMethod,ClientRequestURI,EdgeEndTimestamp,EdgeResponseBytes,EdgeResponseStatus,EdgeStartTimestamp,RayID",
1119+
"sample": 1,
1120+
"filter": "",
1121+
"kind": "instant-logs"
1122+
}' \
1123+
/zones/:example.com/logpush/edge/jobs | jq .
11241124
{
1125-
"destination_conf": "wss://logs.cloudflare.com/instant-logs/ws/sessions/████████████████████████████████",
1125+
"destination_conf": "wss://logs.cloudflare.com/instant-logs/ws/sessions/00000000000000000000000000000000",
11261126
"fields": "ClientIP,ClientRequestHost,ClientRequestMethod,ClientRequestURI,EdgeEndTimestamp,EdgeResponseBytes,EdgeResponseStatus,EdgeStartTimestamp,RayID",
11271127
"filter": "",
11281128
"kind": "instant-logs",
11291129
"sample": 1,
1130-
"session_id": "████████████████████████████████"
1130+
"session_id": "00000000000000000000000000000000"
11311131
}
11321132
$
11331133
```
11341134

11351135
To see the results:
11361136
```
1137-
$ cli4 /zones/:███████████.com/logpush/edge/jobs | jq .
1137+
$ cli4 /zones/:example.com/logpush/edge/jobs | jq .
11381138
[
11391139
{
11401140
"fields": "ClientIP,ClientRequestHost,ClientRequestMethod,ClientRequestURI,EdgeEndTimestamp,EdgeResponseBytes,EdgeResponseStatus,EdgeStartTimestamp,RayID",
11411141
"filter": "",
11421142
"kind": "instant-logs",
11431143
"sample": 1,
1144-
"session_id": "████████████████████████████████"
1144+
"session_id": "00000000000000000000000000000000"
11451145
}
11461146
]
11471147
$

0 commit comments

Comments
 (0)