Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion modules/tutorials/examples/logging-aggregator/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ echo "Installing ZooKeeper Operator"
stackablectl release install -i secret -i commons -i listener -i zookeeper 23.11
# end::zk-op[]

# tag::vector-helm-repo[]
helm repo add vector https://helm.vector.dev
helm repo update
# end::vector-helm-repo[]

# tag::vector-agg[]
helm install \
--wait \
Expand Down Expand Up @@ -35,4 +40,4 @@ then
echo "it worked"
else
echo "it didn't work"
fi
fi
5 changes: 5 additions & 0 deletions modules/tutorials/pages/logging-vector-aggregator.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ include::example$logging-aggregator/vector-aggregator-values.yaml[]
<1> define a source of `type` `vector` which listens to incoming log messages at port 6000.
<2> define a `console` sink, logging all received logs to `stderr`.

Add the Vector Helm repository if you haven't done so already:

[source,bash]
include::example$logging-aggregator/main.sh[tag=vector-helm-repo]

Deploy Vector with these values using Helm:

[source,bash]
Expand Down
Loading