Simple, reliable and efficient database for logs, from single binary to cluster
open coreApache-2.0self-hostablefreeMCP
VictoriaLogs is a log database from VictoriaMetrics that stores and searches structured and unstructured logs, from a zero-config single binary that runs on a Raspberry Pi up to a cluster of hundreds of nodes. It takes logs over OpenTelemetry (OTLP), the Elasticsearch bulk API, the Loki API, syslog, journald, Datadog and Splunk formats, so shippers such as Fluent Bit, Vector, Filebeat, Logstash, Promtail and the OpenTelemetry Collector send to it unchanged, and it is queried with LogsQL in its web UI, the vlogscli terminal client or a Grafana data source. It handles high-cardinality fields and wide events, live tailing and log-based alerting through vmalert, and the maker claims up to 30x less RAM and 15x less disk than Elasticsearch or Grafana Loki. The single-node and cluster versions are Apache-2.0; an Enterprise edition adds mTLS and automatic TLS certificates, and VictoriaMetrics Cloud runs single-node VictoriaLogs on AWS.
Ways to install
On your own server
On Kubernetes
Package managers
Problems it solves
- Elasticsearch needs too much RAM and disk just to keep and search our application logs
- Grafana Loki gets slow when we search logs by high-cardinality fields like user or trace IDs
- a log database that runs as one binary with no config instead of a whole ELK cluster
- switch log backends without reconfiguring Fluent Bit, Vector, Filebeat or Promtail
- send OpenTelemetry logs straight to a self-hosted store I can search from Grafana
- tail production logs live from the terminal across all our servers
- full-text search over terabytes of logs on modest hardware
- alert when an error message shows up in logs more than N times in five minutes
- collect syslog and journald from every Linux box into one searchable place
- store wide structured events with hundreds of fields without defining a schema first
- keep logs for months under a disk budget and drop the oldest automatically
- run one log cluster for several teams with separate tenants
- ingest logs that arrive late or out of order, and backfill old log files
- let an AI assistant query our production logs through an MCP server
- a managed log database so we stop running our own, priced by ingestion rate
Features
- single zero-config binary or a horizontally scalable cluster, both Apache-2.0
- LogsQL query language with full-text search, analytics and query-time field extraction
- ingestion via OpenTelemetry (OTLP), Elasticsearch bulk API, JSON lines, Loki JSON API, journald export format and Splunk
- works with Filebeat, Fluent Bit, Fluentd, Logstash, Vector, Promtail, Grafana Alloy, Telegraf, OpenTelemetry Collector, rsyslog and syslog-ng
- syslog ingestion with automatic CEF parsing
- Datadog Agent log ingestion
- high-cardinality fields and wide events
- out-of-order ingestion and backfilling
- live tailing and surrounding-context selection
- built-in web UI for exploring logs
View 9 more
- vlogscli interactive command-line query client
- Grafana data source plugin and Perses integration
- log-based alerting and recording rules with vmalert
- multitenancy
- vlagent collector with disk buffering
- retention by time or disk usage, and a log deletion API
- official MCP server for AI agents (mcp-victorialogs)
- Helm charts and VictoriaMetrics Operator resources (VLSingle, VLCluster, VLAgent)
- Enterprise: mTLS and automatic Let's Encrypt certificates
Limitations
- Doesn't authorize access per tenant: put vmauth or a similar proxy in front for per-tenant access control4
Ways to run it
VictoriaLogs (open source)
Not included
- mTLS client certificate checks
- automatic Let's Encrypt TLS certificates
- enterprise support
You arrange
- servers or a Kubernetes cluster for single-node or cluster components
- disk for log storage, with about 20% kept free
- a log shipper or vlagent on each source
- vmauth or another proxy for authentication and per-tenant access
- Grafana for dashboards and vmalert for alerting
- backups and upgrades
VictoriaLogs Enterprise
Only in this edition
- mTLS for HTTPS and syslog TCP listeners
- automatic Let's Encrypt TLS certificates
- enterprise support
You arrange
- an enterprise agreement (free trial available)
- the same servers, storage and upgrades as the open source edition
VictoriaLogs in VictoriaMetrics Cloud
from $200/month; storage $0.511/GB/month; $200 trial credits for 30 days7
Only in this edition
- managed VictoriaLogs on AWS
- business-hours support
Not included
- cluster mode: managed VictoriaLogs is single-node7
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
Alternatives
The same job
These do what VictoriaLogs does.
- OpenObserve Open source observability for logs, metrics, traces, RUM and session replay
- Grafana Loki Like Prometheus, but for logs
- Elasticsearch Open source search, analytics, and AI platform
- Quickwit Cloud-native search engine for observability: sub-second search and analytics on cloud storage
- ClickStack Open source observability for SREs and their agents
- OpenSearch The open engine for AI-powered search and observability
