diff --git a/modules/concepts/pages/observability/logging.adoc b/modules/concepts/pages/observability/logging.adoc index 30f4bf186..cb3e7342f 100644 --- a/modules/concepts/pages/observability/logging.adoc +++ b/modules/concepts/pages/observability/logging.adoc @@ -123,13 +123,23 @@ 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 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.svc.cluster.local:6000 +---- + == Custom overrides As with many parts of the Stackable platform, custom overrides are supported as well, by supplying your own logging configuration file. @@ -145,7 +155,8 @@ 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, such as `logback.xml`. == Further reading