VictoriaLogs is a log store from the authors of VictoriaMetrics. Young by observability standards, but it already replaces Elasticsearch wherever logs need fast search and cheap storage rather than enterprise wrapping. The philosophy is the same as the whole Victoria family: one binary, minimal setup, data compressed several times better than "traditional" stacks.

How it differs from the usual stack

  • An index on fields, not on full text. VictoriaLogs' inverted index is built on field values, and full-text search is enabled selectively — "paying" the index only for what is actually searched. Disk and memory are spent more economically this way.
  • LogsQL. A pipeline with filters and aggregations reads noticeably easier than the Elasticsearch DSL:
# all service errors over an hour, grouped by template
service:checkout-api AND level:error | stats count() by _msg

# rare values of a field
_error | stats count() by (_error)

# array unrolling and per-item counting
| unroll item_id | stats count() by item_id

# five-minute windows with event counts
_time:5m AND level:error | stats count()
  • Ingestion over familiar protocols: native formats of Elasticsearch, Loki, Fluent Bit, Vector and syslog. Migration often doesn't require rewriting collectors — only the destination address changes.
  • Streams. Logs are physically ordered by streams (the set of identifying fields is chosen automatically): queries within one stream run fast, and cold data doesn't interfere with hot.

Installation and launch

# single-node mode - covers most tasks
docker run -d --name victorialogs \
  -v vl-data:/storage \
  victoriametrics/victoria-logs \
  -storageDataPath=/storage \
  -retentionPeriod=3y

# shipping from filebeat - same as Elasticsearch, different port only
output.elasticsearch:
  hosts: ["http://vl:9280"]

What to expect from operations

QuestionVictoriaLogsElasticsearch
Node roles, quorum, cluster statenone: 1–3 binariesa JVM cluster of 3+ roles
Heap and aliasesnot needed: container resource limitsmandatory tuning
Write speed during quorum lossnot applicable (no quorum)the cluster goes "red" and stops writing
Planned maintenancerestart, rolling updaterolling upgrade with recovery pauses

In short: operations are either much simpler or not needed — and that is the main argument for teams without a dedicated "ES admin".

When to choose it

  • You need log search and cheap storage, plus simple aggregations and alerts on top: VictoriaLogs covers this out of the box.
  • You don't want to run a JVM cluster for the sake of logs: one binary, or a three-component cluster on managed k8s.
  • Grafana is needed today: the datasource plugin exists, queries in LogsQL, alerts via Grafana or standalone tooling.

Honest boundaries

  • The ecosystem is younger than Elasticsearch's or Loki's: rare cases (complex correlations, exotic integrations, ML log search) are worth checking on a bench first.
  • Full-text search is optional: if your workflow is built on "grep over everything", you may face a rebuild of habits toward field-oriented search.
  • Advanced analytics (ML anomaly detection, high-order prolonged aggregations) live elsewhere: the project was built as a "cheap searchable store", and that is its strength, not weakness.

VictoriaLogs is the same move VictoriaMetrics made with metrics: first an honest refusal of the "extra", then a multiple win in storage price and operational simplicity. Logs without a JVM cluster are a reality.

Multi-tenancy out of the box

This is the feature platform teams adopt VictoriaLogs for: tenants are separated by accountID without separate installations:

# ingest from different teams - just a different header
curl -XPOST http://vl:9428/insert/jsonline \
  -H 'AccountID: 42' --data-binary @team-a.jsonl
curl -XPOST http://vl:9428/insert/jsonline \
  -H 'AccountID: 7' --data-binary @team-b.jsonl

# queries filtered by tenant
curl 'http://vl:9428/select/logsql/query?accountID=42' \
  --data-urlencode 'query=level:error | count()'
  • Each team sees only its own logs — a Grafana datasource with a pinned accountID: no "peeked into someone else's".
  • Retention is shared while separation happens at the query level: the administrative savings are significant compared to "a cluster per team".

Monitoring VictoriaLogs itself

MetricWhat it tells you
vl_rows_inserted_totalingest rate; a flat line = the stream is alive
vl_data_size_bytesdisk growth; forecast via predict_linear
vl_rows_dropped_total > 0silent losses — investigate immediately
vl_free_disk_space_bytesheadroom on the data partition
vl_request_duration_seconds p99query degradation — dashboards notice before users do

The alert minimum: "ingest stopped" (counter not growing), "disks running out" (forecast), "dropped rows exist" (any value) — three rules cover 95% of VL installation incidents.

Comparison with Loki: whose niche is where

The frequent "VictoriaLogs vs Loki" fork — both are about cheap logs. The difference is fundamental:

DimensionVictoriaLogsLoki
Indexingan index on field valuesstream labels only, values not indexed
Search by an arbitrary fieldimmediatelyvia label filters or a slow "grep" over streams
Demands on retention/structureno label discipline requiredrequires well-designed label sets
Ecosystem/sharingyoungmature, Grafana-native

The rule: if logs are structured and search goes by fields — VictoriaLogs is simpler; if the stack is Grafana-centric and the logs are already "label-minded" — Loki is no worse. The worst option is choosing without running your real queries first.

The "take it or not" decision template

The cheat sheet I keep coming back to in discussions of this fork:

If your case is…Take VL if…Stay where you are if…
Application logs with fields, filtering and aggregation neededyou're ready to write LogsQL queries, Grafana is enoughyears of saved Kibana queries and log ML analytics are already in place
Team multi-tenancythe accountID approach covers it at onceseparation is already solved at the infrastructure level
A small team without a JVM backgroundoperations savings are the main argumentthe team has a dedicated "ES admin", and they're happy

For log clusters already stuck on the "update or not, because of licensing" question — VictoriaLogs deserves at least a bench: the cost of checking (one VM and an hour) is incomparable with the cost of the decision.