Skip to main content

Grafana + VictoriaLogs

Loki Proxy for VictoriaLogs

Use Grafana's native Loki datasource, Explore, and Logs Drilldown with VictoriaLogs. No plugin required.

Native Loki datasource
Grafana keeps the built-in Loki datasource type
No plugin or UI fork.
Explore + Drilldown
Compatibility is tested against the user-facing Grafana flows
Datasource, Explore, Drilldown, patterns.
Read-only by design
Query, metadata, patterns, and rules or alerts read views are in scope
Push remains blocked.
Operator-first telemetry
Metrics and logs expose downstream, proxy, cache, and upstream behavior
Prometheus pull and OTLP push both work.
Loki-VL-proxy marketing logoLoki-VL-proxy marketing logo

What this project actually solves

Loki-VL-proxy exists for teams that want VictoriaLogs as the backend while preserving Grafana and Loki client workflows that already assume the Loki HTTP API.

Keep Grafana workflows intact

Grafana continues to use the native Loki datasource, Explore, and Logs Drilldown paths. The proxy handles the read-side compatibility and translation work in the middle.

Expose VictoriaLogs safely

VictoriaLogs remains the source of log data while the proxy shapes labels, metadata, patterns, rules, and alerts views into Loki-like contracts where those contracts matter.

Handle dotted OTel fields

The project supports translation profiles for dotted VictoriaLogs fields and Loki-safe underscore labels so operators can keep Grafana usable without giving up native field semantics upstream.

Make the proxy observable

Route-aware metrics and structured logs break out client latency, proxy overhead, upstream slowness, and cache behavior so the translation layer does not become a blind spot.

Practical operator guides

These pages are written as real deployment and migration playbooks, not just keyword landing pages. They map directly onto the docs, chart recipes, cache model, and observability surface the project already ships.

Search-focused entry points

These pages answer the exact discovery queries operators and Grafana users search for when they are trying to make VictoriaLogs work behind Loki-compatible tooling.

The path operators actually run

Keep the path simple: clients and Grafana on the left, the compatibility and cache layer in the middle, VictoriaLogs and optional rules backends on the right.

Client or GrafanaLoki-compatible read APITranslation and shapingTier0 and deeper cacheVictoriaLogs and vmalert

Why operators keep this layer visible

The proxy is not just a protocol adapter. It carries compatibility contracts, latency, and cache behavior that need to be observed as a real production component.

Compatibility is explicit, not implied

The project keeps separate compatibility tracks for Grafana Loki datasource behavior, Logs Drilldown, and VictoriaLogs runtime bands. CI exercises the contracts instead of relying on vague claims.

Translation stays bounded

Route-aware metrics, structured logs, tuple contracts, and label or metadata translation modes are built so operators can see where the proxy adds work and where it passes VictoriaLogs behavior through safely.

Caching is part of the product surface

Tier0 compatibility cache, in-memory cache, disk cache, and optional peer or fleet cache are first-class operational levers, not hidden implementation details.

Observability follows the runtime path

The packaged dashboard follows Client -> Proxy -> VictoriaLogs and breaks out route, latency, errors, cache efficiency, and operational resources for both Prometheus pull and OTLP push setups.

Start from the practical guides, then drop into the deep docs

The landing pages should get you to the right operating model fast. The deep docs still cover exact flags, compatibility matrices, benchmarks, scaling decisions, and runbooks.