Grafana Cloud Setup
Connect to Grafana Cloud Loki for managed log aggregation- Log in to your Grafana Cloud account
- Navigate to your Grafana Cloud portal
- Go to ‘My Account’ → ‘Loki’ section
- Find your Tenant ID (Instance ID) in the Loki details
- Note your region (e.g., prod-us-central-0)
- Create an API token: ‘Security’ → ‘Access Policies’ → ‘Create access policy’
- Ensure the token has ‘logs:read’ scope
- Copy the generated API token (starts with glc_)
Self-Hosted Loki Setup
Connect to your own Loki instance- Identify your Loki server hostname or IP address
- Ensure port 3100 (default) is accessible
- If using basic authentication, prepare your credentials
- For HTTPS, ensure SSL certificates are properly configured
- Test connectivity: curl http://loki.example.com:3100/ready
Field Reference
The following fields are used when configuring this integration:- API Token (
apiToken) - Loki URL (
hostname) - Password (
password) - Cloud Region (
region) - Tenant ID / Instance ID (
tenantId) - Username (
username)