Loki multi-tenancy and access control

Separating teams, customers or environments inside one Loki cluster: tenant IDs, per-tenant limits, label-based access control and monitoring tenant usage.

Designing Loki tenants for teams and environments

Deciding what a Loki tenant represents, a team, environment or customer, tenant ID rules and length, single-tenant mode and the fake tenant, and why changing tenant IDs later needs a data migration.

Per-tenant limits and runtime overrides in Loki

Giving each tenant its own ingestion rate, stream count, query limits and retention through the runtime overrides file, applied without restarts, and exposing the result with the overrides exporter.

Label-based access control in Loki 4.0

Restricting what a tenant can query to streams matching label selectors, generally available from Loki 4.0: policy design, the reverse proxy that must set tenant and policy headers, and limits of the model.

Multi-tenant Loki for SaaS and managed service providers

Running one Loki for many customers: a tenant per customer, the proxy that maps customer credentials to X-Scope-OrgID, per-tenant retention and limits, shuffle sharding for isolation, and where Grafana Enterprise Logs adds features.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.