Skip to content

Commit f59e2da

Browse files
[Logs] Updates logpush navigation with dashbutton (#25757)
* Updates logpush navigation * Adds more info to path
1 parent c5024f5 commit f59e2da

File tree

25 files changed

+117
-111
lines changed

25 files changed

+117
-111
lines changed

src/content/docs/automatic-platform-optimization/get-started/activate-cf-wp-plugin.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The Cloudflare APO WordPress plugin does not support multisite WordPress install
3535

3636
## Purchase APO
3737

38-
1. In the Cloudflare dashboard, go to the **Settings** page.
38+
1. In the Cloudflare dashboard, go to the **Speed** > **Settings** page.
3939

4040
<DashButton url="/?to=/:account/:zone/speed/optimization" />
4141

src/content/docs/cache/advanced-configuration/early-hints.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ For more information about Early Hints, refer to the [Cloudflare](https://blog.c
2626

2727
## Enable Early Hints
2828

29-
1. In the Cloudflare dashboard, go to the **Settings** page.
29+
1. In the Cloudflare dashboard, go to the **Speed** > **Settings** page.
3030

3131
<DashButton url="/?to=/:account/:zone/speed/optimization" />
3232

src/content/docs/logs/logpush/logpush-job/enable-destinations/aws-s3.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Cloudflare Logpush supports pushing logs directly to Amazon S3 via the Cloudflar
1616

1717
<Render file="enable-logpush-job" product="logs" />
1818

19-
5. In **Select a destination**, choose **Amazon S3**.
19+
4. In **Select a destination**, choose **Amazon S3**.
2020

21-
6. Enter or select the following destination information:
21+
5. Enter or select the following destination information:
2222
- **Bucket** - S3 bucket name
2323
- **Path** - bucket location within the storage container
2424
- **Organize logs into daily subfolders** (recommended)
@@ -29,21 +29,21 @@ Cloudflare Logpush supports pushing logs directly to Amazon S3 via the Cloudflar
2929

3030
When you are done entering the destination details, select **Continue**.
3131

32-
7. To prove ownership, Cloudflare will send a file to your designated destination. To find the token, select the **Open** button in the **Overview** tab of the ownership challenge file, then paste it into the Cloudflare dashboard to verify your access to the bucket. Enter the **Ownership Token** and select **Continue**.
32+
6. To prove ownership, Cloudflare will send a file to your designated destination. To find the token, select the **Open** button in the **Overview** tab of the ownership challenge file, then paste it into the Cloudflare dashboard to verify your access to the bucket. Enter the **Ownership Token** and select **Continue**.
3333

34-
8. Select the dataset to push to the storage service.
34+
7. Select the dataset to push to the storage service.
3535

36-
9. In the next step, you need to configure your logpush job:
36+
8. In the next step, you need to configure your logpush job:
3737
- Enter the **Job name**.
3838
- 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.
3939
- 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.
4040

41-
10. In **Advanced Options**, you can:
41+
9. In **Advanced Options**, you can:
4242
- Choose the format of timestamp fields in your logs (`RFC3339`(default),`Unix`, or `UnixNano`).
4343
- Select a [sampling rate](/logs/logpush/logpush-job/api-configuration/#sampling-rate) for your logs or push a randomly-sampled percentage of logs.
4444
- Enable redaction for `CVE-2021-44228`. This option will replace every occurrence of `${` with `x{`.
4545

46-
11. Select **Submit** once you are done configuring your logpush job.
46+
10. Select **Submit** once you are done configuring your logpush job.
4747

4848
## Create and get access to an S3 bucket
4949

src/content/docs/logs/logpush/logpush-job/enable-destinations/azure.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,28 @@ Cloudflare Logpush supports pushing logs directly to Microsoft Azure via the Clo
1616

1717
<Render file="enable-logpush-job" product="logs" />
1818

19-
5. In **Select a destination**, choose **Microsoft Azure**.
19+
4. In **Select a destination**, choose **Microsoft Azure**.
2020

21-
6. Enter or select the following destination details:
21+
5. Enter or select the following destination details:
2222
- **SAS URL** - a pre-signed URL that grants access to Azure Storage resources. Refer to [Azure storage documentation](https://learn.microsoft.com/en-us/azure/storage/storage-explorer/vs-azure-tools-storage-manage-with-storage-explorer?tabs=macos#shared-access-signature-sas-url) for more information on generating a SAS URL using Azure Storage Explorer.
2323
- **Path** - bucket location within the storage container
2424
- **Organize logs into daily subfolders** (recommended)
2525

2626
When you are done entering the destination details, select **Continue**.
2727

28-
7. Select the dataset to push to the storage service.
28+
6. Select the dataset to push to the storage service.
2929

30-
8. In the next step, you need to configure your logpush job:
30+
7. In the next step, you need to configure your logpush job:
3131
- Enter the **Job name**.
3232
- 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.
3333
- 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.
3434

35-
9. In **Advanced Options**, you can:
35+
8. In **Advanced Options**, you can:
3636
- Choose the format of timestamp fields in your logs (`RFC3339`(default),`Unix`, or `UnixNano`).
3737
- Select a [sampling rate](/logs/logpush/logpush-job/api-configuration/#sampling-rate) for your logs or push a randomly-sampled percentage of logs.
3838
- Enable redaction for `CVE-2021-44228`. This option will replace every occurrence of `${` with `x{`.
3939

40-
10. Select **Submit** once you are done configuring your logpush job.
40+
9. Select **Submit** once you are done configuring your logpush job.
4141

4242
## Create and get access to a Blob Storage container
4343

src/content/docs/logs/logpush/logpush-job/enable-destinations/datadog.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Cloudflare Logpush supports pushing logs directly to Datadog via the Cloudflare
1616

1717
<Render file="enable-logpush-job" product="logs" />
1818

19-
5. In **Select a destination**, choose **Datadog**.
19+
4. In **Select a destination**, choose **Datadog**.
2020

21-
6. Enter or select the following destination information:
21+
5. Enter or select the following destination information:
2222
- **Datadog URL Endpoint**, which can be either one below. You can find the difference at [Datadog API reference](https://docs.datadoghq.com/api/latest/logs/).
2323

2424
<Tabs> <TabItem label="v1">
@@ -37,19 +37,19 @@ Cloudflare Logpush supports pushing logs directly to Datadog via the Cloudflare
3737

3838
When you are done entering the destination details, select **Continue**.
3939

40-
7. Select the dataset to push to the storage service.
40+
6. Select the dataset to push to the storage service.
4141

42-
8. In the next step, you need to configure your logpush job:
42+
7. In the next step, you need to configure your logpush job:
4343
- Enter the **Job name**.
4444
- 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.
4545
- 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.
4646

47-
9. In **Advanced Options**, you can:
47+
8. In **Advanced Options**, you can:
4848
- Choose the format of timestamp fields in your logs (`RFC3339`(default),`Unix`, or `UnixNano`).
4949
- Select a [sampling rate](/logs/logpush/logpush-job/api-configuration/#sampling-rate) for your logs or push a randomly-sampled percentage of logs.
5050
- Enable redaction for `CVE-2021-44228`. This option will replace every occurrence of `${` with `x{`.
5151

52-
10. Select **Submit** once you are done configuring your logpush job.
52+
9. Select **Submit** once you are done configuring your logpush job.
5353

5454
## Manage via API
5555

src/content/docs/logs/logpush/logpush-job/enable-destinations/google-cloud-storage.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,31 @@ Cloudflare Logpush supports pushing logs directly to Google Cloud Storage (GCS)
1616

1717
<Render file="enable-logpush-job" product="logs" />
1818

19-
5. In **Select a destination**, choose **Google Cloud Storage**.
19+
4. In **Select a destination**, choose **Google Cloud Storage**.
2020

21-
6. Enter or select the following destination details:
21+
5. Enter or select the following destination details:
2222
- **Bucket** - GCS bucket name
2323
- **Path** - bucket location within the storage container
2424
- **Organize logs into daily subfolders** (recommended)
2525
- For **Grant Cloudflare access to upload files to your bucket**, make sure your bucket has added Cloudflare’s IAM as a user with a [Storage Object Admin role](https://cloud.google.com/storage/docs/access-control/iam-roles).
2626

2727
When you are done entering the destination details, select **Continue**.
2828

29-
7. To prove ownership, Cloudflare will send a file to your designated destination. To find the token, select the **Open** button in the **Overview** tab of the ownership challenge file, then paste it into the Cloudflare dashboard to verify your access to the bucket. Enter the **Ownership Token** and select **Continue**.
29+
6. To prove ownership, Cloudflare will send a file to your designated destination. To find the token, select the **Open** button in the **Overview** tab of the ownership challenge file, then paste it into the Cloudflare dashboard to verify your access to the bucket. Enter the **Ownership Token** and select **Continue**.
3030

31-
8. Select the dataset to push to the storage service.
31+
7. Select the dataset to push to the storage service.
3232

33-
9. In the next step, you need to configure your logpush job:
33+
8. In the next step, you need to configure your logpush job:
3434
- Enter the **Job name**.
3535
- 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.
3636
- 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.
3737

38-
10. In **Advanced Options**, you can:
38+
9. In **Advanced Options**, you can:
3939
- Choose the format of timestamp fields in your logs (`RFC3339`(default),`Unix`, or `UnixNano`).
4040
- Select a [sampling rate](/logs/logpush/logpush-job/api-configuration/#sampling-rate) for your logs or push a randomly-sampled percentage of logs.
4141
- Enable redaction for `CVE-2021-44228`. This option will replace every occurrence of `${` with `x{`.
4242

43-
11. Select **Submit** once you are done configuring your logpush job.
43+
10. Select **Submit** once you are done configuring your logpush job.
4444

4545
## Create and get access to a GCS bucket
4646

src/content/docs/logs/logpush/logpush-job/enable-destinations/http.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,23 @@ Cloudflare expects that the endpoint is available over HTTPS, using a trusted ce
1919

2020
<Render file="enable-logpush-job" product="logs" />
2121

22-
5. In **Select a destination**, choose **HTTP destination**.
22+
4. In **Select a destination**, choose **HTTP destination**.
2323

24-
6. Enter the **HTTP endpoint** where you want to send the logs to, and select **Continue**. - You can use `"header_*"` URL parameters to set request headers, for example, to pass an authentication token to your HTTP endpoint.
24+
5. Enter the **HTTP endpoint** where you want to send the logs to, and select **Continue**. - You can use `"header_*"` URL parameters to set request headers, for example, to pass an authentication token to your HTTP endpoint.
2525

26-
7. Select the dataset to push to the storage service.
26+
6. Select the dataset to push to the storage service.
2727

28-
8. In the next step, you need to configure your logpush job:
28+
7. In the next step, you need to configure your logpush job:
2929
- Enter the **Job name**.
3030
- 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.
3131
- 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.
3232

33-
9. In **Advanced Options**, you can:
33+
8. In **Advanced Options**, you can:
3434
- Choose the format of timestamp fields in your logs (`RFC3339`(default),`Unix`, or `UnixNano`).
3535
- Select a [sampling rate](/logs/logpush/logpush-job/api-configuration/#sampling-rate) for your logs or push a randomly-sampled percentage of logs.
3636
- Enable redaction for `CVE-2021-44228`. This option will replace every occurrence of `${` with `x{`.
3737

38-
10. Select **Submit** once you are done configuring your logpush job.
38+
9. Select **Submit** once you are done configuring your logpush job.
3939

4040
## Manage via API
4141

src/content/docs/logs/logpush/logpush-job/enable-destinations/ibm-cloud-logs.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,28 @@ Cloudflare Logpush supports pushing logs directly to IBM Cloud Logs via dashboar
1616

1717
<Render file="enable-logpush-job" product="logs" />
1818

19-
5. In **Select a destination**, choose **IBM Cloud Logs**.
19+
4. In **Select a destination**, choose **IBM Cloud Logs**.
2020

21-
6. Enter the following destination information:
21+
5. Enter the following destination information:
2222

2323
- **HTTP Source Address** - For example, `ibmcl://<INSTANCE_ID>.ingress.<REGION>.logs.cloud.ibm.com/logs/v1/singles`.
2424
- **IBM API Key** - For more information refer to the [IBM Cloud Logs documentation](https://cloud.ibm.com/docs/cloud-logs).
2525

2626
When you are done entering the destination details, select **Continue**.
2727

28-
7. Select the dataset to push to the storage service.
28+
6. Select the dataset to push to the storage service.
2929

30-
8. In the next step, you need to configure your logpush job:
30+
7. In the next step, you need to configure your logpush job:
3131
- Enter the **Job name**.
3232
- 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.
3333
- 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.
3434

35-
9. In **Advanced Options**, you can:
35+
8. In **Advanced Options**, you can:
3636
- Choose the format of timestamp fields in your logs (`RFC3339`(default),`Unix`, or `UnixNano`).
3737
- Select a [sampling rate](/logs/logpush/logpush-job/api-configuration/#sampling-rate) for your logs or push a randomly-sampled percentage of logs.
3838
- Enable redaction for `CVE-2021-44228`. This option will replace every occurrence of `${` with `x{`.
3939

40-
10. Select **Submit** once you are done configuring your logpush job.
40+
9. Select **Submit** once you are done configuring your logpush job.
4141

4242
## Manage via API
4343

src/content/docs/logs/logpush/logpush-job/enable-destinations/new-relic.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Cloudflare Logpush supports pushing logs directly to New Relic via the Cloudflar
1616

1717
<Render file="enable-logpush-job" product="logs" />
1818

19-
5. In **Select a destination**, choose **New Relic**.
19+
4. In **Select a destination**, choose **New Relic**.
2020

21-
6. Enter the **New Relic Logs Endpoint**:
21+
5. Enter the **New Relic Logs Endpoint**:
2222

2323
<Tabs> <TabItem label="US">
2424

@@ -34,19 +34,19 @@ Use the region that matches the one that has been set on your New Relic account.
3434

3535
When you are done entering the destination details, select **Continue**.
3636

37-
7. Select the dataset to push to the storage service.
37+
6. Select the dataset to push to the storage service.
3838

39-
8. In the next step, you need to configure your logpush job:
39+
7. In the next step, you need to configure your logpush job:
4040
- Enter the **Job name**.
4141
- 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.
4242
- 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.
4343

44-
9. In **Advanced Options**, you can:
44+
8. In **Advanced Options**, you can:
4545
- Choose the format of timestamp fields in your logs (`RFC3339`(default),`Unix`, or `UnixNano`).
4646
- Select a [sampling rate](/logs/logpush/logpush-job/api-configuration/#sampling-rate) for your logs or push a randomly-sampled percentage of logs.
4747
- Enable redaction for `CVE-2021-44228`. This option will replace every occurrence of `${` with `x{`.
4848

49-
10. Select **Submit** once you are done configuring your logpush job.
49+
9. Select **Submit** once you are done configuring your logpush job.
5050

5151
## Manage via API
5252

src/content/docs/logs/logpush/logpush-job/enable-destinations/r2.mdx

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 40
66
---
77

8-
import { Render, APIRequest } from "~/components";
8+
import { Render, APIRequest, DashButton } from "~/components";
99

1010
Cloudflare Logpush supports pushing logs directly to R2. You can do so via the automatic setup (Cloudflare creates an R2 bucket for you), or you can create your own R2 bucket with the custom setup. The automatic setup is ideal for quickly setting up a bucket or for testing purposes. Instead, use the custom setup if you need full control over the configuration.
1111

@@ -15,19 +15,13 @@ For more information about R2, refer to the [Cloudflare R2](/r2/) documentation.
1515

1616
If you want to use the automatic setup for your logpush job:
1717

18-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login).
19-
20-
2. Select the Enterprise account or domain (also known as zone) you want to use with Logpush. Depending on your choice, you have access to [account-scoped datasets](/logs/logpush/logpush-job/datasets/account/) and [zone-scoped datasets](/logs/logpush/logpush-job/datasets/zone/), respectively.
21-
22-
3. Go to **Analytics & Logs** > **Logpush**.
23-
24-
4. Select **Create a Logpush job**.
18+
<Render file="enable-logpush-job" product="logs" />
2519

26-
5. Select **R2 Object Storage - automatic** as destination.
20+
4. Select **R2 Object Storage - automatic** as destination.
2721

28-
6. Next, select the dataset and the storage region you want to use.
22+
5. Next, select the dataset and the storage region you want to use.
2923

30-
7. To finalize, select **Create Logpush job**.
24+
6. To finalize, select **Create Logpush job**.
3125

3226
Your setup should now be complete. If you require full control over the configuration, consider using the custom setup instead.
3327

@@ -55,29 +49,29 @@ Before getting started:
5549

5650
<Render file="enable-logpush-job" product="logs" />
5751

58-
5. In **Select a destination**, choose **R2 Object Storage**.
52+
4. In **Select a destination**, choose **R2 Object Storage**.
5953

60-
6. Enter or select the following destination details:
54+
5. Enter or select the following destination details:
6155
- **Bucket** - R2 bucket name
6256
- **Path** - bucket location, for example, `cloudflare-logs/http_requests/example.com`
6357
- **Organize logs into daily subfolders** (recommended)
6458
- Under **Authentication** add your **R2 Access Key ID** and **R2 Secret Access Key**. Refer to [Manage R2 API tokens](https://dash.cloudflare.com/b54f07a6c269ecca2fa60f1ae4920c99/r2/api-tokens) for more information.
6559

6660
When you are done entering the destination details, select **Continue**.
6761

68-
7. Select the dataset to push to the storage service.
62+
6. Select the dataset to push to the storage service.
6963

70-
8. In the next step, you need to configure your logpush job:
64+
7. In the next step, you need to configure your logpush job:
7165
- Enter the **Job name**.
7266
- 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.
7367
- 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.
7468

75-
9. In **Advanced Options**, you can:
69+
8. In **Advanced Options**, you can:
7670
- Choose the format of timestamp fields in your logs (`RFC3339`(default),`Unix`, or `UnixNano`).
7771
- Select a [sampling rate](/logs/logpush/logpush-job/api-configuration/#sampling-rate) for your logs or push a randomly-sampled percentage of logs.
7872
- Enable redaction for `CVE-2021-44228`. This option will replace every occurrence of `${` with `x{`.
7973

80-
10. Select **Submit** once you are done configuring your logpush job.
74+
9. Select **Submit** once you are done configuring your logpush job.
8175

8276
### Manage via API
8377

@@ -132,9 +126,11 @@ Once your logs are stored in R2, you can download them using various methods:
132126

133127
### Dashboard
134128

135-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/).
129+
1. In the Cloudflare dashboard, go to the **R2** page.
130+
131+
<DashButton url="/?to=/:account/r2/overview" />
136132

137-
2. Navigate to R2 and select your bucket.
133+
2. Select your bucket.
138134

139135
3. From your bucket's page, locate the desired log file.
140136

0 commit comments

Comments
 (0)