{"schemaVersion":"1.0","record":{"label":"VictoriaLogs","description":"VictoriaLogs log-search or analytics backend with documented integration and data-management boundaries.","aliases":[],"kind":"software","website":"https://docs.victoriametrics.com/victorialogs/","overview":"VictoriaLogs is an Apache 2.0-licensed log database available in single-node and clustered forms. It provides schema-free log storage, a built-in interface and Grafana integration, with LogsQL for queries. It is a log backend rather than an assurance that collection, authorization and every surrounding observability function are included automatically.","license":"Apache-2.0","lifecycle":"active","example":false,"features":[{"name":"Log storage and querying","status":"supported","detail":"Single-node/cluster database with LogsQL and web/Grafana interfaces.","useCase":"Log search and analytics","platforms":["Self-hosted server","Web"],"region":"Version, deployment, license and pipeline requirements apply","evidence":[{"url":"https://github.com/VictoriaMetrics/VictoriaLogs/blob/master/README.md","locator":"Log database architecture, single-node and cluster versions, web UI and Grafana integration","retrievedAt":"2026-10-07T01:54:05Z","kind":"vendor"},{"url":"https://docs.victoriametrics.com/victorialogs/querying/","locator":"LogsQL queries; facet cardinality limits and stream-list pagination caveat","retrievedAt":"2026-10-07T01:54:37Z","kind":"vendor"}]},{"name":"Built-in per-tenant authorization","status":"unsupported","detail":"Tenant IDs need an external authorization layer such as vmauth.","useCase":"Log search and analytics","platforms":["Self-hosted server","Web"],"region":"Version, deployment, license and pipeline requirements apply","evidence":[{"url":"https://docs.victoriametrics.com/victorialogs/","locator":"Retention and backfilling, per-day partition recovery and tenant authorization","retrievedAt":"2026-10-07T01:54:47Z","kind":"vendor"}]}],"alternatives":[],"slug":"victorialogs","draftAlternatives":[{"targetSlug":"grafana-loki","status":"limited","detail":"Can cover log queries; query language, retention and authorization behavior differ.","useCase":"Self-hosted log storage and investigation","platforms":["Self-hosted server","Web"],"region":"Version, deployment, license and pipeline requirements apply","evidence":[{"url":"https://github.com/VictoriaMetrics/VictoriaLogs/blob/master/README.md","locator":"Log database architecture, single-node and cluster versions, web UI and Grafana integration","retrievedAt":"2026-10-07T01:54:05Z","kind":"vendor"},{"url":"https://docs.victoriametrics.com/victorialogs/querying/","locator":"LogsQL queries; facet cardinality limits and stream-list pagination caveat","retrievedAt":"2026-10-07T01:54:37Z","kind":"vendor"},{"url":"https://github.com/grafana/loki/blob/main/README.md","locator":"Logging architecture: label indexing, Alloy collection and Grafana visualization","retrievedAt":"2026-10-07T01:53:53Z","kind":"vendor"}]}],"evidence":[{"url":"https://github.com/VictoriaMetrics/VictoriaLogs/blob/master/README.md","locator":"Log database architecture, single-node and cluster versions, web UI and Grafana integration","retrievedAt":"2026-10-07T01:54:05Z","kind":"vendor"},{"url":"https://github.com/VictoriaMetrics/VictoriaLogs/blob/master/LICENSE","locator":"Apache License version 2.0 header","retrievedAt":"2026-10-07T01:54:16Z","kind":"vendor"},{"url":"https://docs.victoriametrics.com/victorialogs/querying/","locator":"LogsQL queries; facet cardinality limits and stream-list pagination caveat","retrievedAt":"2026-10-07T01:54:37Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/VictoriaMetrics/VictoriaLogs/blob/master/LICENSE","locator":"Apache License version 2.0 header","retrievedAt":"2026-10-07T01:54:16Z","id":"vl-license","title":"VictoriaLogs license","kind":"vendor"},{"url":"https://github.com/VictoriaMetrics/VictoriaLogs/blob/master/README.md","locator":"Log database architecture, single-node and cluster versions, web UI and Grafana integration","retrievedAt":"2026-10-07T01:54:05Z","id":"vl-readme","title":"VictoriaLogs README","kind":"vendor"},{"url":"https://docs.victoriametrics.com/victorialogs/querying/","locator":"LogsQL queries; facet cardinality limits and stream-list pagination caveat","retrievedAt":"2026-10-07T01:54:37Z","id":"vl-query","title":"VictoriaLogs querying","kind":"vendor"},{"url":"https://docs.victoriametrics.com/victorialogs/","locator":"Retention and backfilling, per-day partition recovery and tenant authorization","retrievedAt":"2026-10-07T01:54:47Z","id":"vl-ops","title":"VictoriaLogs operating guide","kind":"vendor"},{"url":"https://github.com/grafana/loki/blob/main/README.md","locator":"Logging architecture: label indexing, Alloy collection and Grafana visualization","retrievedAt":"2026-10-07T01:53:53Z","id":"lo-readme","title":"Grafana Loki README","kind":"vendor"}],"overviewCitations":["vl-readme","vl-license","vl-query"],"licenseCitations":["vl-license"],"sections":[{"id":"querying","heading":"Queries and analysis interfaces","paragraphs":[{"id":"querying-detail","content":[{"text":"The HTTP interface supports log queries, live tailing, hit counts, statistics and field exploration. LogsQL expresses filters and processing over the stored events. This provides several ways to investigate data, but query support does not establish compatibility with Loki's LogQL or Elasticsearch queries. A switch can require adapting saved searches and dashboards as well as moving the events."}],"citations":["vl-query"]}]},{"id":"retention","heading":"Ingestion windows affect historical imports","paragraphs":[{"id":"retention-detail","content":[{"text":"By default, VictoriaLogs retains seven days and rejects ingested events outside its configured timestamp window. It also has a future-timestamp limit. Retention is therefore not just a later cleanup policy: it can determine whether backfilled historical logs are accepted at all. A migration needs a suitable window before importing data, rather than assuming all old events will be stored and trimmed afterward."}],"citations":["vl-ops"]}]},{"id":"tenants","heading":"Tenant identifiers are not authorization","paragraphs":[{"id":"tenants-detail","content":[{"text":"The operating guide identifies tenants with AccountID and ProjectID values, defaulting to zero when omitted. It explicitly says VictoriaLogs does not perform per-tenant authorization and calls for an external component such as vmauth. Separating records by tenant ID is therefore not by itself evidence that one customer cannot query another customer's logs."}],"citations":["vl-ops"]}]},{"id":"limits","heading":"Exploration endpoints can omit values","paragraphs":[{"id":"limits-detail","content":[{"text":"The facet endpoint can ignore fields with too many unique values or excessively long values. Stream-list endpoints with a limit can return an arbitrary subset and cannot use that limit as reliable pagination over a larger set. These are useful exploratory interfaces, but their returned lists should not automatically be treated as exhaustive inventories or complete export results."}],"citations":["vl-query"]}]},{"id":"fit","heading":"Substitution considerations","paragraphs":[{"id":"fit-detail","content":[{"text":"VictoriaLogs can replace "},{"text":"Grafana Loki","targetSlug":"grafana-loki"},{"text":" for selected self-hosted log-storage and investigation workloads when LogsQL and the ingestion model meet the requirement. It does not establish lossless query translation or an equivalent security boundary. Retention at ingestion, external tenant authorization and the completeness of extraction routes need evaluation before a switch."}],"citations":["vl-readme","vl-query","vl-ops","lo-readme"]}]}]},"id":"Q412","revision":398,"updatedAt":"2026-10-11T20:46:32Z","sourceUrl":"https://substitutefor.net/entities/Q412?revision=398"}}