You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/reference/setup.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -185,7 +185,7 @@ All you have to do is to use the `co.elastic.logging.logback.EcsEncoder` instead
185
185
|`serviceEnvironment`| String || Sets the `service.environment` field so you can filter your logs by a particular service environment |
186
186
|`serviceNodeName`| String || Sets the `service.node.name` field so you can filter your logs by a particular node of your clustered service |
187
187
|`eventDataset`| String |`${serviceName}`| Sets the `event.dataset` field used by the machine learning job of the Logs app to look for anomalies in the log rate. |
188
-
|`includeMarkers`| boolean |`false`| Log [Markers](https://logging.apache.org/log4j/2.0/manual/markers.md) as [`tags`](ecs://reference/ecs-base.md)|
188
+
|`includeMarkers`| boolean |`false`| Log [Markers](https://logging.apache.org/log4j/2.0/manual/markers.html) as [`tags`](ecs://reference/ecs-base.md)|
189
189
|`stackTraceAsArray`| boolean |`false`| Serializes the [`error.stack_trace`](ecs://reference/ecs-error.md) as a JSON array where each element is in a new line to improve readability.Note that this requires a slightly more complex [Filebeat configuration](#setup-stack-trace-as-array). |
190
190
|`includeOrigin`| boolean |`false`| If `true`, adds the [`log.origin.file.name`](ecs://reference/ecs-log.md), [`log.origin.file.line`](ecs://reference/ecs-log.md) and [`log.origin.function`](ecs://reference/ecs-log.md) fields. Note that you also have to set `<includeCallerData>true</includeCallerData>` on your appenders if you are using the async ones. |
191
191
@@ -235,7 +235,7 @@ Instead of the usual `<PatternLayout/>`, use `<EcsLayout serviceName="my-app"/>`
235
235
|`serviceEnvironment`| String || Sets the `service.environment` field so you can filter your logs by a particular service environment |
236
236
|`serviceNodeName`| String || Sets the `service.node.name` field so you can filter your logs by a particular node of your clustered service |
237
237
|`eventDataset`| String |`${serviceName}`| Sets the `event.dataset` field used by the machine learning job of the Logs app to look for anomalies in the log rate. |
238
-
|`includeMarkers`| boolean |`false`| Log [Markers](https://logging.apache.org/log4j/2.0/manual/markers.md) as [`tags`](ecs://reference/ecs-base.md)|
238
+
|`includeMarkers`| boolean |`false`| Log [Markers](https://logging.apache.org/log4j/2.0/manual/markers.html) as [`tags`](ecs://reference/ecs-base.md)|
239
239
|`stackTraceAsArray`| boolean |`false`| Serializes the [`error.stack_trace`](ecs://reference/ecs-error.md) as a JSON array where each element is in a new line to improve readability. Note that this requires a slightly more complex [Filebeat configuration](#setup-stack-trace-as-array). |
240
240
|`includeOrigin`| boolean |`false`| If `true`, adds the [`log.origin.file.name`](ecs://reference/ecs-log.md) fields. Note that you also have to set `includeLocation="true"` on your loggers and appenders if you are using the async ones. |
241
241
@@ -248,7 +248,7 @@ To include any custom field in the output, use following syntax:
248
248
</EcsLayout>
249
249
```
250
250
251
-
Custom fields are included in the order they are declared. The values support [lookups](https://logging.apache.org/log4j/2.x/manual/lookups.md). This means that the `KeyValuePair` setting can be utilized to dynamically set predefined fields as well:
251
+
Custom fields are included in the order they are declared. The values support [lookups](https://logging.apache.org/log4j/2.x/manual/lookups.html). This means that the `KeyValuePair` setting can be utilized to dynamically set predefined fields as well:
0 commit comments