Integrations

Grafana Loki

Connect Castrel to Grafana Loki for log aggregation and analysis.

Overview

  • Connector Name: loki
  • Supported API Version: Grafana Loki HTTP API v1
  • Supported Server Versions: Grafana Loki v3.0.0 and later
  • Official Documentation: Grafana Loki Docs

Configuration

To use the Loki tools, you need to configure a Connector with the following fields:

FieldRequiredDescription
instance_nameYesInstance name to identify this connector instance.
base_urlYesThe base URL of your Loki server (e.g., http://loki:3100).
auth_typeYesSet to none or basic.
usernameNoBasic Auth username.
passwordNoBasic Auth password.
org_idNoOrganization ID for multi-tenant Loki setups (sets X-Scope-OrgID header).
verify_sslNoSSL certificate verification (default: true).

Available Tools

The connector provides a comprehensive set of tools for log analysis and metadata exploration.

  • Log Querying
  • Log Metadata
  • Volume & Statistics