Skip to content

Commit 9ca5ba9

Browse files
clean up cross-repo links (#89)
1 parent 3c91649 commit 9ca5ba9

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

docs/reference/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ mapped_pages:
88

99
ECS loggers are formatter/encoder plugins for your favorite logging libraries. They make it easy to format your logs into ECS-compatible JSON.
1010

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).
1212

1313
By default, the following fields are added:
1414

@@ -22,7 +22,7 @@ By default, the following fields are added:
2222
```
2323

2424
::::{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).
2626
::::
2727

2828

docs/reference/setup.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ logger, err := config.Build(ecszap.WrapCoreOption(), zap.AddCaller())
171171
:::::::{tab-set}
172172

173173
::::::{tab-item} Log file
174-
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)
175175
2. Add the following configuration to your `filebeat.yaml` file.
176176

177177
For Filebeat 7.16+
@@ -197,7 +197,7 @@ processors: <5>
197197
2. Values from the decoded JSON object overwrite the fields that {{filebeat}} normally adds (type, source, offset, etc.) in case of conflicts.
198198
3. {{filebeat}} adds an "error.message" and "error.type: json" key in case of JSON unmarshalling errors.
199199
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.
201201
202202
203203
For Filebeat < 7.16
@@ -221,8 +221,8 @@ processors:
221221
222222
::::::{tab-item} Kubernetes
223223
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`).
226226
4. Add these annotations to your pods that log using ECS loggers. This will make sure the logs are parsed appropriately.
227227

228228
```yaml
@@ -239,8 +239,8 @@ annotations:
239239

240240
::::::{tab-item} Docker
241241
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.
243-
3. Enable [hints-based autodiscover](beats://docs/reference/filebeat/configuration-autodiscover-hints.md).
242+
2. Follow the [Run Filebeat on Docker](beats://reference/filebeat/running-on-docker.md) guide.
243+
3. Enable [hints-based autodiscover](beats://reference/filebeat/configuration-autodiscover-hints.md).
244244
4. Add these labels to your containers that log using ECS loggers. This will make sure the logs are parsed appropriately.
245245

246246
```yaml
@@ -256,5 +256,5 @@ labels:
256256
::::::
257257

258258
:::::::
259-
For more information, see the [Filebeat reference](beats://docs/reference/filebeat/configuring-howto-filebeat.md).
259+
For more information, see the [Filebeat reference](beats://reference/filebeat/configuring-howto-filebeat.md).
260260

0 commit comments

Comments
 (0)