Skip to content

Commit

Permalink
Set service values via --set for logstash. (#2415)
Browse files Browse the repository at this point in the history
As per discussed in #2406.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
  • Loading branch information
cyriltovena authored Jul 29, 2020
1 parent 2d5b6b5 commit d93b410
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/sources/clients/logstash/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,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.
Expand Down
3 changes: 2 additions & 1 deletion production/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d93b410

Please sign in to comment.