From 3e36670ea7f500b934bf77bf1624b6e4d62ae0af Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Wed, 10 Dec 2025 12:34:45 +0100 Subject: [PATCH 1/4] Add more hints about the Vector Aggregator setup --- modules/concepts/pages/observability/logging.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/concepts/pages/observability/logging.adoc b/modules/concepts/pages/observability/logging.adoc index 30f4bf186..67d4a204d 100644 --- a/modules/concepts/pages/observability/logging.adoc +++ b/modules/concepts/pages/observability/logging.adoc @@ -130,6 +130,16 @@ Configure a {vector-source-vector}[Vector source{external-link-icon}^] at adress Every product also has a `vectorAggregatorConfigMapName` property in its spec that needs to be set to the name of the ConfigMap that contains the address of the aggregator. The field is called `ADDRESS` and the value could be `vector-aggregator:6000` if you're running the aggregator behind a service named `vector-aggregator`. +[source,yaml] +---- +apiVersion: v1 +kind: ConfigMap +metadata: + name: vector-aggregator-discovery +data: + ADDRESS: vector-aggregator.vector:6000 +---- + == Custom overrides As with many parts of the Stackable platform, custom overrides are supported as well, by supplying your own logging configuration file. From cba7d5f165a1974727208447816529bcbcd1202c Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Wed, 10 Dec 2025 12:34:59 +0100 Subject: [PATCH 2/4] Elaborate on the custom log config --- modules/concepts/pages/observability/logging.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/concepts/pages/observability/logging.adoc b/modules/concepts/pages/observability/logging.adoc index 67d4a204d..42c200983 100644 --- a/modules/concepts/pages/observability/logging.adoc +++ b/modules/concepts/pages/observability/logging.adoc @@ -155,7 +155,7 @@ logging: configMap: my-configmap // <2> ---- <1> The vector logging agent is not deployed. -<2> A custom logging configuration is loaded from a ConfigMap called `my-configmap`. +<2> A custom product logging configuration is loaded from a ConfigMap called `my-configmap`. The key must be the filename that the product is configured to load (eg: `logback.xml`). == Further reading From 6f32176a7f0fad459340189569e229f476a98bd1 Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Wed, 10 Dec 2025 12:35:14 +0100 Subject: [PATCH 3/4] fix typo --- modules/concepts/pages/observability/logging.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/concepts/pages/observability/logging.adoc b/modules/concepts/pages/observability/logging.adoc index 42c200983..a7f1616b3 100644 --- a/modules/concepts/pages/observability/logging.adoc +++ b/modules/concepts/pages/observability/logging.adoc @@ -123,7 +123,7 @@ Following the Stackable xref:stacklet.adoc#roles[roles] and xref::stacklet.adoc# === Configuring the Aggregator Follow the {vector-agg-install}[installation instructions{external-link-icon}^] for the aggregator. -Configure a {vector-source-vector}[Vector source{external-link-icon}^] at adress `0.0.0.0:6000` and configure sinks and additional settings according to your needs. +Configure a {vector-source-vector}[Vector source{external-link-icon}^] at address `0.0.0.0:6000` and configure sinks and additional settings according to your needs. === Configuring the aggregator location From 8d87d7c462a8bad401a6c55b0d7b38acbdac2cc1 Mon Sep 17 00:00:00 2001 From: Nick <10092581+NickLarsenNZ@users.noreply.github.com> Date: Thu, 11 Dec 2025 09:25:13 +0100 Subject: [PATCH 4/4] Apply suggestions from code review Co-authored-by: Siegfried Weber --- modules/concepts/pages/observability/logging.adoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/concepts/pages/observability/logging.adoc b/modules/concepts/pages/observability/logging.adoc index a7f1616b3..cb3e7342f 100644 --- a/modules/concepts/pages/observability/logging.adoc +++ b/modules/concepts/pages/observability/logging.adoc @@ -137,7 +137,7 @@ kind: ConfigMap metadata: name: vector-aggregator-discovery data: - ADDRESS: vector-aggregator.vector:6000 + ADDRESS: vector-aggregator.vector.svc.cluster.local:6000 ---- == Custom overrides @@ -155,7 +155,8 @@ logging: configMap: my-configmap // <2> ---- <1> The vector logging agent is not deployed. -<2> A custom product logging configuration is loaded from a ConfigMap called `my-configmap`. The key must be the filename that the product is configured to load (eg: `logback.xml`). +<2> A custom product logging configuration is loaded from a ConfigMap called `my-configmap`. + The key must be the filename that the product is configured to load, such as `logback.xml`. == Further reading