From ca8f3d9dd48ceec5ec0520b8750018cff31648e8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 9 Jan 2025 11:36:54 -0800 Subject: [PATCH] [release/v1.1] docs: fixed kafka config example (#2368) Example shows `loki.source.kafka "local"` pointing to `loki.relabel.kafka.receiver`. This leads to no new label being added. Correct example should have the kafka source pointing directly to `loki.write.local.receiver` (cherry picked from commit 672dfe7b143da4deb871cc9d56a3bb80556124e6) Co-authored-by: Jay Clifford <45856600+Jayclifford345@users.noreply.github.com> --- docs/sources/reference/components/loki/loki.source.kafka.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sources/reference/components/loki/loki.source.kafka.md b/docs/sources/reference/components/loki/loki.source.kafka.md index 1226794a60..842a9cc364 100644 --- a/docs/sources/reference/components/loki/loki.source.kafka.md +++ b/docs/sources/reference/components/loki/loki.source.kafka.md @@ -145,7 +145,7 @@ loki.source.kafka "local" { brokers = ["localhost:9092"] topics = ["quickstart-events"] labels = {component = "loki.source.kafka"} - forward_to = [loki.relabel.kafka.receiver] + forward_to = [loki.write.local.receiver] use_incoming_timestamp = true relabel_rules = loki.relabel.kafka.rules }