Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 830 Bytes

logs.md

File metadata and controls

23 lines (15 loc) · 830 Bytes

We use loki-stack on our cluster to collect, store, and query logs. To access the browser interface to visualize and query logs:

Open Grafana

First, ensure you have kubectl setup and talking to the cluster. Then:

kubectl port-forward --namespace loki-stack service/loki-stack-grafana 3000:80

This will make the Grafana UI accessible at http://localhost:3000 in your browser.

Login to Grafana

Get auth token to login with:

kubectl get secret --namespace loki-stack loki-stack-grafana -o jsonpath="{.data.admin-password}" | base64 -d ; echo

Then login with username admin and password as the auth token obtained above.

View logs Dashboard

image