|
9 | 9 |
|
10 | 10 | --- |
11 | 11 |
|
12 | | -import { APIRequest } from "~/components" |
| 12 | +import {Render, APIRequest } from "~/components" |
13 | 13 |
|
14 | | -Cloudflare Logpush supports pushing logs directly to IBM Cloud Logs via API. The dashboard functionality will later be added. |
| 14 | +Cloudflare Logpush supports pushing logs directly to IBM Cloud Logs via dashboard or API. |
| 15 | + |
| 16 | +## Manage via the Cloudflare dashboard |
| 17 | + |
| 18 | +<Render file="enable-logpush-job" /> |
| 19 | + |
| 20 | +5. In **Select a destination**, choose **IBM Cloud Logs**. |
| 21 | + |
| 22 | +6. Enter the following destination information: |
| 23 | + |
| 24 | +- **HTTP Source Address** - For example, `ibmcl://<INSTANCE_ID>.ingress.<REGION>.logs.cloud.ibm.com/logs/v1/singles`. |
| 25 | +- **IBM API Key** - For more information refer to the [IBM Cloud Logs documentation](https://cloud.ibm.com/docs/cloud-logs). |
| 26 | + |
| 27 | +When you are done entering the destination details, select **Continue**. |
| 28 | + |
| 29 | +7. Select the dataset to push to the storage service. |
| 30 | + |
| 31 | +8. In the next step, you need to configure your logpush job: |
| 32 | + * Enter the **Job name**. |
| 33 | + * Under **If logs match**, you can select the events to include and/or remove from your logs. Refer to [Filters](/logs/logpush/logpush-job/filters/) for more information. Not all datasets have this option available. |
| 34 | + * In **Send the following fields**, you can choose to either push all logs to your storage destination or selectively choose which logs you want to push. |
| 35 | + |
| 36 | +9. In **Advanced Options**, you can: |
| 37 | + * Choose the format of timestamp fields in your logs (`RFC3339`(default),`Unix`, or `UnixNano`). |
| 38 | + * Select a [sampling rate](/logs/logpush/logpush-job/api-configuration/#sampling-rate) for your logs or push a randomly-sampled percentage of logs. |
| 39 | + * Enable redaction for `CVE-2021-44228`. This option will replace every occurrence of `${` with `x{`. |
| 40 | + |
| 41 | +10. Select **Submit** once you are done configuring your logpush job. |
15 | 42 |
|
16 | 43 | ## Manage via API |
17 | 44 |
|
|
0 commit comments