Loki Setup
Setup of Loki via Helm
Configure Loki in Grafana
install Loki via Helm
helm install loki grafana/loki -f microservices-values.yaml -n monitoringverify the deployment with:
kubectl get pods -n monitoring
Get the link for Grafana from the helm output once it's finished

http://loki-gateway.monitoring.svc.cluster.local
Configure Grafana
Go to Data Sources in Grafana
Select Loki
Set the URL to the Loki URL something like http://loki-gateway.monitoring.svc.cluster.local
Set the `X-Scope-OrgID` header in Grafana, under datasources > Loki > HTTP headers
Header
Value
X-Scope-OrgID
default
Last modified: 26 February 2025