Skip to content

Commit d542de7

Browse files
ADubhlaoichJTorreGmjang
authored
Apply suggestions from code review
Co-authored-by: Jon Torre <[email protected]> Co-authored-by: Mike Jang <[email protected]>
1 parent 8471c7e commit d542de7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/waf/logging/custom-dimensions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ F5 WAF for NGINX can configure custom dimensions for log entries using the direc
1010

1111
This directive can be added to the NGINX configuration file in the `http`, `server` and `location` scopes. The custom dimensions become part of every request in the [Security logs]({{< ref "/waf/logging/security-logs.md" >}}) based on the scope used.
1212

13-
The `app_protect_custom_log_attribute` directive takes a key/value pair, such as `app_protect_custom_log_attribute 'customDimension' '1'`. The directive can cascade and override entries based on scope order: _location_, _server_ then. _http_.
13+
The `app_protect_custom_log_attribute` directive takes a key/value pair, such as `app_protect_custom_log_attribute 'customDimension' '1'`. The directive can cascade and override entries based on scope order: _location_, _server_ then _http_.
1414

15-
For example, attributes at the _http_ level applies to all servers and locations unless a specific server or location overrides the same key with a different value.
15+
For example, attributes at the _http_ level apply to all servers and locations unless a specific server or location overrides the same key with a different value.
1616

17-
When a custom dimension is assigned to a scope, it will appear in the `json_log` field as a new JSON property called "customLogAttributes" at the top level. This properly only appears if the `app_protect_custom_log_attribute` directive is used.
17+
When a custom dimension is assigned to a scope, it appears in the `json_log` field as a new JSON property called "customLogAttributes" at the top level. This properly appears if the `app_protect_custom_log_attribute` directive is used.
1818

1919
In the configuration example, the "environment" attribute will appear in logs of all locations under that server block.
2020

0 commit comments

Comments
 (0)