Configuring the Grafana Cloud Loki backend (Managed)
Supported Signals:
string
: Endpoint. The endpoint of your Grafana Cloud Loki instance
https://logs-prod-{REGION/SHARD}.grafana.net/loki/api/v1/push
string
: Username. You can find the loki username in the “Grafana Data Source settings” section as “User” value. The username is a number.
1234567
string
: Password (Api Token). This field is refered to as “password” or “Grafana.com API Token” in the Grafana Cloud UI. You can manage tokens in your “Account Settings” page under the “SECURITY” section in the “Access Policies” page. Make sure your token scope includes logs:write
scope
glc_eyJvIj...
string[]
: Labels. Use these OpenTelemetry resource attributes as Loki labels for each log record
["k8s.container.name", "k8s.pod.name", "k8s.namespace.name"]
Add Destination
, select Grafana Cloud Loki
and follow the on-screen instructionsgrafanacloudloki.yaml
)kubectl