Skip to content

Commit 204dd29

Browse files
Corrects format (#25188)
1 parent 05d4c4b commit 204dd29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/content/docs/logs/logpush/logpush-job/api-configuration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ If you are still using logpull\_options, here are the options that you can custo
212212

213213
1. **Fields** (optional): Refer to [Datasets](/logs/logpush/logpush-job/datasets/) for the currently available fields. The list of fields is also accessible directly from the API: `https://api.cloudflare.com/client/v4/zones/{zone_id}/logpush/datasets/{dataset_id}/fields`. Default fields: `https://api.cloudflare.com/client/v4/zones/{zone_id}/logpush/datasets/{dataset_id}/fields/default`.
214214
2. **Timestamp format** (optional): The format in which timestamp fields will be returned. Value options: `unixnano` (nanoseconds unit - default), `unix` (seconds unit), `rfc3339` (seconds unit).
215-
3. **Redaction for CVE-2021-44228** (optional): This option will replace every occurrence of `${` with `x{`. To enable it, set `"CVE-2021-44228": "true"`.
215+
3. **Redaction for CVE-2021-44228** (optional): This option will replace every occurrence of `${` with `x{`. To enable it, set `"CVE-2021-44228": true`.
216216

217217
:::note[Note]
218218

src/content/docs/logs/logpush/logpush-job/filters.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Here is an example request using cURL via API:
7070
field_names: ["ClientIP", "EdgeStartTimestamp", "RayID"],
7171
sample_rate: 0.1,
7272
timestamp_format: "rfc3339",
73-
"CVE-2021-44228": "true",
73+
"CVE-2021-44228": true,
7474
},
7575
dataset: "http_requests",
7676
filter: JSON.stringify({

0 commit comments

Comments
 (0)