v1

latestOpenAPI 3.1.22026-08-0611530152.3 KB
Logs/Grafana Cloud

Add Grafana Cloud (Loki) log integration

Add a Grafana Cloud (Loki) log integration.

Broker logs are exported via OTLP to your Grafana Cloud stack.

To find your credentials, sign in to the Grafana Cloud Portal, open your stack, find the OpenTelemetry tile and click Configure.

The endpoint must be the OTLP gateway URL in the format https://otlp-gateway-prod-<region>.grafana.net/otlp.

post/integrations/logs/grafana

Response

Integration added successfully

idinteger

Integration ID

typestring

Integration type (e.g., papertrail, scalyr, splunk, datadog, etc.)

configobject

Integration configuration (varies by integration type)

errorstring

Error message if any

account_idstring

Account ID

Example response

{
  "id": 10
}