From 868244f85e8cb831ce42defa74c86e8df101c011 Mon Sep 17 00:00:00 2001 From: Cyril Tovena Date: Fri, 24 Jul 2020 11:36:57 -0400 Subject: [PATCH] Set service values via --set for logstash. As per discussed in #2406. Signed-off-by: Cyril Tovena --- docs/sources/clients/logstash/_index.md | 5 +++-- production/helm/README.md | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/sources/clients/logstash/_index.md b/docs/sources/clients/logstash/_index.md index d131998b1579..60ee6d7b9349 100644 --- a/docs/sources/clients/logstash/_index.md +++ b/docs/sources/clients/logstash/_index.md @@ -35,7 +35,8 @@ You can switch from Promtail to logstash by using the following command: ```bash helm upgrade --install loki loki/loki-stack \ - --set filebeat.enabled=true,logstash.enabled=true,promtail.enabled=false + --set filebeat.enabled=true,logstash.enabled=true,promtail.enabled=false \ + --set loki.fullnameOverride=loki,logstash.fullnameOverride=logstash-loki ``` This will automatically scrape all pods logs in the cluster and send them to Loki with Kubernetes metadata attached as labels. @@ -267,4 +268,4 @@ output { } # stdout { codec => rubydebug } } -``` \ No newline at end of file +``` diff --git a/production/helm/README.md b/production/helm/README.md index 85a98628b1e2..fb333f86f89e 100644 --- a/production/helm/README.md +++ b/production/helm/README.md @@ -75,7 +75,8 @@ $ helm upgrade --install fluent-bit loki/fluent-bit \ ```bash $ helm upgrade --install loki loki/loki-stack \ - --set filebeat.enabled=true,logstash.enabled=true,promtail.enabled=false + --set filebeat.enabled=true,logstash.enabled=true,promtail.enabled=false \ + --set loki.fullnameOverride=loki,logstash.fullnameOverride=logstash-loki ``` ## Deploy Grafana to your cluster