Skip to content

Commit 6fbd156

Browse files
angelampcostathomasgauvin
authored andcommitted
Moves Custom fields (#23885)
1 parent 17f0cb1 commit 6fbd156

File tree

8 files changed

+10
-9
lines changed

8 files changed

+10
-9
lines changed

public/__redirects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -980,6 +980,7 @@
980980
/logs/edge-log-delivery/ /logs/logpush/logpush-job/edge-log-delivery/ 301
981981
/logs/reference/filters/ /logs/logpush/logpush-job/filters/ 301
982982
/logs/reference/log-output-options/ /logs/logpush/logpush-job/log-output-options/ 301
983+
/logs/reference/custom-fields/ /logs/logpush/logpush-job/custom-fields/ 301
983984

984985
# magic-firewall
985986
/magic-firewall/reference/examples/ /magic-firewall/how-to/add-rules/ 301

src/content/changelog/logs/2025-04-18-custom-fields-raw-transformed-values.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ These defaults can be overidden to suit your logging needs.
2020
Transformed and raw values for request and response headers are available **only via the API** and cannot be set through the UI.
2121
:::
2222

23-
For more information refer to [Custom fields](/logs/reference/custom-fields/) documentation
23+
For more information refer to [Custom fields](/logs/logpush/logpush-job/custom-fields/) documentation

src/content/docs/cloudflare-one/insights/logs/audit-logs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,6 @@ When a user requests a given URL, Access appends the user identity from that tok
157157

158158
### Using the `cf-access-user` field
159159

160-
In addition to the HTTP request fields available in Cloudflare Enterprise logging, requests made to applications behind Access include the `cf-access-user` field, which contains the user identity string. This offers another tool for auditing user behavior. To add the `cf-access-user` field to your HTTP request logs, you must add it as a custom field. Refer to [Custom fields](/logs/reference/custom-fields/) for instructions.
160+
In addition to the HTTP request fields available in Cloudflare Enterprise logging, requests made to applications behind Access include the `cf-access-user` field, which contains the user identity string. This offers another tool for auditing user behavior. To add the `cf-access-user` field to your HTTP request logs, you must add it as a custom field. Refer to [Custom fields](/logs/logpush/logpush-job/custom-fields/) for instructions.
161161

162162
Keep in mind that Access does not log all interactions. For example, per-request audit logs can indicate that a specific user visited `domain.com/admin` and then `domain.com/admin/panel`, but the logs can only identify user interactions that result in a new HTTP request.

src/content/docs/logs/get-started/api-configuration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ These parameters can be used to gain control of batch size in the case that a de
262262

263263
## Custom fields
264264

265-
You can add custom fields to your HTTP request log entries in the form of HTTP request headers, HTTP response headers, and cookies. Custom fields configuration applies to all the Logpush jobs in a zone that use the HTTP requests dataset. To learn more, refer to [Custom fields](/logs/reference/custom-fields/).
265+
You can add custom fields to your HTTP request log entries in the form of HTTP request headers, HTTP response headers, and cookies. Custom fields configuration applies to all the Logpush jobs in a zone that use the HTTP requests dataset. To learn more, refer to [Custom fields](/logs/logpush/logpush-job/custom-fields/).
266266

267267
## Audit
268268

src/content/docs/logs/reference/custom-fields.mdx renamed to src/content/docs/logs/logpush/logpush-job/custom-fields.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
pcx_content_type: how-to
33
title: Custom fields
44
sidebar:
5-
order: 43
5+
order: 8
66
---
77

88
import { APIRequest } from "~/components";

src/content/docs/logs/reference/log-fields/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The `<DATASET>` argument indicates the log category. For example, `http_requests
2727

2828
* The availability of Logpush dataset fields depends on your subscription plan.
2929
* Zone-scoped HTTP requests are available in both Logpush and Logpull.
30-
* [Custom fields](/logs/reference/custom-fields/) for HTTP requests are only available in Logpush.
30+
* [Custom fields](/logs/logpush/logpush-job/custom-fields/) for HTTP requests are only available in Logpush.
3131
* All other datasets are only available through Logpush.
3232

3333
## Deprecation

src/content/docs/logs/reference/log-fields/zone/http_requests.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ List of content types.
247247

248248
Type: `object`
249249

250-
String key-value pairs for Cookies. This field is populated based on [Logpush Custom fields](/logs/reference/custom-fields/), which need to be configured.
250+
String key-value pairs for Cookies. This field is populated based on [Logpush Custom fields](/logs/logpush/logpush-job/custom-fields/), which need to be configured.
251251

252252
## EdgeCFConnectingO2O
253253

@@ -463,13 +463,13 @@ ID of the request.
463463

464464
Type: `object`
465465

466-
String key-value pairs for RequestHeaders. This field is populated based on [Logpush Custom fields](/logs/reference/custom-fields/), which need to be configured.
466+
String key-value pairs for RequestHeaders. This field is populated based on [Logpush Custom fields](/logs/logpush/logpush-job/custom-fields/), which need to be configured.
467467

468468
## ResponseHeaders
469469

470470
Type: `object`
471471

472-
String key-value pairs for ResponseHeaders. This field is populated based on [Logpush Custom fields](/logs/reference/custom-fields/), which need to be configured.
472+
String key-value pairs for ResponseHeaders. This field is populated based on [Logpush Custom fields](/logs/logpush/logpush-job/custom-fields/), which need to be configured.
473473

474474
## SecurityAction
475475

src/content/docs/ruleset-engine/reference/phases-list.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ The phases execute in the order they appear in the table.
6767
| `http_ratelimit` | [Rate limiting rules](/waf/rate-limiting-rules/) (when they use response information) |
6868
| `http_response_compression` | [Compression Rules](/rules/compression-rules/) |
6969
| `http_response_firewall_managed` | [Cloudflare Sensitive Data Detection](/waf/managed-rules/) (Data Loss Prevention) |
70-
| `http_log_custom_fields` | [Logpush custom fields](/logs/reference/custom-fields/) |
70+
| `http_log_custom_fields` | [Logpush custom fields](/logs/logpush/logpush-job/custom-fields/) |

0 commit comments

Comments
 (0)