Skip to content

Commit 6696539

Browse files
committed
Update docs
1 parent 364be62 commit 6696539

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

docs/sources/reference/components/loki/loki.enrich.md

+4-11
Original file line numberDiff line numberDiff line change
@@ -125,17 +125,10 @@ loki.enrich "default" {
125125

126126
The component matches logs to discovered targets and enriches them with additional labels:
127127

128-
1. For each log entry, it looks up the value of `logs_match_label` from the log's labels (or `target_match_label` if `logs_match_label` is not specified)
129-
2. It matches this value against the `target_match_label` in discovered targets
130-
3. If a match is found, it copies the requested `labels_to_copy` from the discovered target to the log entry (if `labels_to_copy` is empty, all labels are copied)
131-
4. The log entry (enriched or unchanged) is forwarded to the configured receivers
132-
133-
## See also
134-
135-
* [loki.source.syslog](../loki.source.syslog/)
136-
* [loki.source.api](../loki.source.api/)
137-
* [discovery.relabel](../discovery/discovery.relabel/)
138-
* [discovery.http](../discovery/discovery.http/)
128+
1. For each log entry, it looks up the value of `logs_match_label` from the log's labels or `target_match_label` if `logs_match_label` is not specified.
129+
1. It matches this value against the `target_match_label` in discovered targets.
130+
1. If a match is found, it copies the requested `labels_to_copy` from the discovered target to the log entry. If `labels_to_copy` is empty, all labels are copied.
131+
1. The log entry, enriched or unchanged, is forwarded to the configured receivers.
139132

140133
<!-- START GENERATED COMPATIBLE COMPONENTS -->
141134

0 commit comments

Comments
 (0)