diff --git a/src/content/docs/logs/logpush/examples/example-logpush-curl.mdx b/src/content/docs/logs/logpush/examples/example-logpush-curl.mdx index bf62b1073f1e67..950fce559f8650 100644 --- a/src/content/docs/logs/logpush/examples/example-logpush-curl.mdx +++ b/src/content/docs/logs/logpush/examples/example-logpush-curl.mdx @@ -97,7 +97,7 @@ When using Sumo Logic, you may find it helpful to have [Live Tail](https://help. * **dataset** - The category of logs you want to receive. Refer to [Datasets](/logs/logpush/logpush-job/datasets/) for the full list of supported datasets; this parameter cannot be changed after the job is created. * **output\_options** (optional) - Refer to [Log Output Options](/logs/logpush/logpush-job/log-output-options/). * Typically includes the desired fields and timestamp format. - * Set the timestamp format to `RFC 3339` (`×tamps=rfc3339`) for: + * Set the timestamp format to `RFC 3339` (`"timestamp_format": "rfc3339"`) for: * Google BigQuery usage. * Automated timestamp parsing within Sumo Logic; refer to [timestamps from Sumo Logic](https://help.sumologic.com/03Send-Data/Sources/04Reference-Information-for-Sources/Timestamps%2C-Time-Zones%2C-Time-Ranges%2C-and-Date-Formats) for details. * **ownership\_challenge** - Challenge token required to prove destination ownership. diff --git a/src/content/docs/logs/logpush/logpush-job/api-configuration.mdx b/src/content/docs/logs/logpush/logpush-job/api-configuration.mdx index 8f711a58bc2e04..e217a41a1e7b6d 100644 --- a/src/content/docs/logs/logpush/logpush-job/api-configuration.mdx +++ b/src/content/docs/logs/logpush/logpush-job/api-configuration.mdx @@ -211,8 +211,8 @@ Logpull\_options has been replaced with Custom Log Formatting output\_options. P If you are still using logpull\_options, here are the options that you can customize: 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`. -2. **Timestamp format** (optional): The format in which timestamp fields will be returned. Value options: `unixnano` (default), `unix`, `rfc3339`. -3. **Redaction for CVE-2021-44228** (optional): This option will replace every occurrence of `${` with `x{`. To enable it, set `CVE-2021-44228=true`. +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). +3. **Redaction for CVE-2021-44228** (optional): This option will replace every occurrence of `${` with `x{`. To enable it, set `"CVE-2021-44228": "true"`. :::note[Note] diff --git a/src/content/docs/logs/logpush/logpush-job/log-output-options.mdx b/src/content/docs/logs/logpush/logpush-job/log-output-options.mdx index d417b6412080fe..d4bcdd795d80b9 100644 --- a/src/content/docs/logs/logpush/logpush-job/log-output-options.mdx +++ b/src/content/docs/logs/logpush/logpush-job/log-output-options.mdx @@ -62,7 +62,7 @@ The **output\_options** object has the following settings: * Comment: the `{{/* comments */}}` are silently dropped. * **record\_delimiter**: string to be inserted in-between the records as separator. * **field\_delimiter**: string to join fields. Will be ignored when **record\_template** is set. -* **timestamp\_format**: string to specify format for timestamps, such as `unixnano`, `unix`, or `rfc3339`. Default `unixnano`. +* **timestamp\_format**: string to specify format for timestamps, such as `unixnano` (nanoseconds unit), `unix` (seconds unit), or `rfc3339` (seconds unit). Default `unixnano`. The API default is `unixnano` when `timestamp_format` is not specified for a job. However, when creating a Logpush job in the Cloudflare dashboard, `timestamp_format` will be set explicitly to `rfc3339` as the default. * **sample\_rate**: floating number to specify sampling rate (default 1.0: no sampling). Sampling is applied on top of filtering, and regardless of the current sample\_interval of the data. * **CVE-2021-44228**: bool, default false. If set to true, will cause all occurrences of `${` in the generated files to be replaced with `x{`.