Skip to content

Commit

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

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
  • Loading branch information
cyriltovena committed Jul 24, 2020
1 parent 2e1fd42 commit 868244f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/sources/clients/logstash/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -267,4 +268,4 @@ output {
}
# stdout { codec => rubydebug }
}
```
```
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 868244f

Please sign in to comment.