About VictoriaLogs
VictoriaLogs is an Apache-2.0 database for logs. It accepts data from Filebeat, Fluent Bit, Logstash, OpenTelemetry, Promtail, Syslog, Vector and other collectors, stores it in per-day partitions and answers LogsQL queries with full-text search.
The project claims up to 30 times less RAM and 15 times less disk than Elasticsearch or Grafana Loki. It has no external dependencies and adapts to the CPU and memory it finds, which suits a single CloudSat server with NVMe storage.
After deploy VictoriaLogs listens on port 9428, with the web UI at /select/vmui. Logs older than 7 days are dropped by default.
What you get with VictoriaLogs
- Ingestion from popular log shippers and OpenTelemetry
- LogsQL query language with full-text search
- Built-in web UI for exploring logs
- Retention by age or by disk usage
- Grafana data source and vmalert alerting
VictoriaLogs use cases
- Centralize logs from a few servers without running Elasticsearch
- Search application errors across services in one place
- Alert on log patterns through vmalert
After you deploy VictoriaLogs
- When the server is Running, load
http://<server IP>:9428/select/vmuifrom an address you allowed. - Send a test line by piping JSON to
/insert/jsonlinewithcurl, then find it in the UI. - There is no login by default: add
-httpAuth.usernameand-httpAuth.password, or keep port 9428 behind a firewall rule. - Set
-retentionPeriod(for example8w) to keep more than 7 days.
VictoriaLogs ports
Open these in your firewall if you use one: 9428/tcp HTTP API, ingestion and web UI.
VictoriaLogs FAQ
Does VictoriaLogs need Elasticsearch or Kafka?
No. One binary stores everything in a single directory, victoria-logs-data unless -storageDataPath points elsewhere.
How do I view these logs in Grafana?
Install the VictoriaLogs data source plugin in Grafana and give it the server address on port 9428.
Disclaimer. The VictoriaLogs project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.