Loki
Connect Loki to the Pagerly SRE Agent to query and search logs.
What the Agent Can Do
Query logs using LogQL syntax
Search by labels, time range, and patterns
Discover available log labels and streams
Setup Instructions
Get your Loki endpoint URL:
Grafana Cloud: Go to My Account > Grafana Cloud > Loki Details > copy URL and generate API key
Self-hosted: Your Loki instance URL (default port 3100)
If authentication is required, get a bearer token or basic auth credentials
Paste your Loki URL and credentials in the Pagerly dashboard
Required Credentials
Loki URL
Your Loki endpoint URL
https://logs-prod-us-central1.grafana.net
Bearer Token (optional)
Required for Grafana Cloud
—
Context Prompt Tips
"Our logs use app=myservice label. Production logs have env=prod. Error logs are level=error."
Docs
Last updated
Was this helpful?