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/index.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ mapped_pages:
8
8
9
9
ECS loggers are formatter/encoder plugins for your favorite logging libraries. They make it easy to format your logs into ECS-compatible JSON.
10
10
11
-
The encoder logs in JSON format, relying on the default [zapcore/json_encoder](https://github.com/uber-go/zap/blob/master/zapcore/json_encoder.go) when possible. It also handles the logging of error fields in [ECS error format](ecs://docs/reference/ecs-error.md).
11
+
The encoder logs in JSON format, relying on the default [zapcore/json_encoder](https://github.com/uber-go/zap/blob/master/zapcore/json_encoder.go) when possible. It also handles the logging of error fields in [ECS error format](ecs://reference/ecs-error.md).
12
12
13
13
By default, the following fields are added:
14
14
@@ -22,7 +22,7 @@ By default, the following fields are added:
22
22
```
23
23
24
24
::::{tip}
25
-
Want to learn more about ECS, ECS logging, and other available language plugins? See the [ECS logging guide](ecs-logging://docs/reference/intro.md).
25
+
Want to learn more about ECS, ECS logging, and other available language plugins? See the [ECS logging guide](ecs-logging://reference/intro.md).
1. Follow the [Filebeat quick start](beats://docs/reference/filebeat/filebeat-installation-configuration.md)
174
+
1. Follow the [Filebeat quick start](beats://reference/filebeat/filebeat-installation-configuration.md)
175
175
2. Add the following configuration to your `filebeat.yaml` file.
176
176
177
177
For Filebeat 7.16+
@@ -197,7 +197,7 @@ processors: <5>
197
197
2. Values from the decoded JSON object overwrite the fields that {{filebeat}} normally adds (type, source, offset, etc.) in case of conflicts.
198
198
3. {{filebeat}} adds an "error.message" and "error.type: json" key in case of JSON unmarshalling errors.
199
199
4. {{filebeat}} will recursively de-dot keys in the decoded JSON, and expand them into a hierarchical object structure.
200
-
5. Processors enhance your data. See [processors](beats://docs/reference/filebeat/filtering-enhancing-data.md) to learn more.
200
+
5. Processors enhance your data. See [processors](beats://reference/filebeat/filtering-enhancing-data.md) to learn more.
201
201
202
202
203
203
For Filebeat < 7.16
@@ -221,8 +221,8 @@ processors:
221
221
222
222
::::::{tab-item} Kubernetes
223
223
1. Make sure your application logs to stdout/stderr.
224
-
2. Follow the [Run Filebeat on Kubernetes](beats://docs/reference/filebeat/running-on-kubernetes.md) guide.
225
-
3. Enable [hints-based autodiscover](beats://docs/reference/filebeat/configuration-autodiscover-hints.md) (uncomment the corresponding section in `filebeat-kubernetes.yaml`).
224
+
2. Follow the [Run Filebeat on Kubernetes](beats://reference/filebeat/running-on-kubernetes.md) guide.
225
+
3. Enable [hints-based autodiscover](beats://reference/filebeat/configuration-autodiscover-hints.md) (uncomment the corresponding section in `filebeat-kubernetes.yaml`).
226
226
4. Add these annotations to your pods that log using ECS loggers. This will make sure the logs are parsed appropriately.
227
227
228
228
```yaml
@@ -239,8 +239,8 @@ annotations:
239
239
240
240
::::::{tab-item} Docker
241
241
1. Make sure your application logs to stdout/stderr.
242
-
2. Follow the [Run Filebeat on Docker](beats://docs/reference/filebeat/running-on-docker.md) guide.
0 commit comments