# VictoriaLogs

VictoriaLogs log\-search or analytics backend with documented integration and data\-management boundaries\.

ID: Q412 · Revision: 398

Type: software · License: Apache\-2\.0[^vl-license] · Status: active

Website: https://docs.victoriametrics.com/victorialogs/



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\.[^vl-readme][^vl-license][^vl-query]

## Queries and analysis interfaces

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\.[^vl-query]

## Ingestion windows affect historical imports

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\.[^vl-ops]

## Tenant identifiers are not authorization

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\.[^vl-ops]

## Exploration endpoints can omit values

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\.[^vl-query]

## Substitution considerations

VictoriaLogs can replace [Grafana Loki](/grafanaloki) 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\.[^vl-readme][^vl-query][^vl-ops][^lo-readme]

## Capabilities and substitutions

### Log storage and querying — supported

Single\-node/cluster database with LogsQL and web/Grafana interfaces\.[^vl-readme][^vl-query]

Use case: Log search and analytics · Platforms: Self\-hosted server, Web · Region: Version, deployment, license and pipeline requirements apply

### Built\-in per\-tenant authorization — unsupported

Tenant IDs need an external authorization layer such as vmauth\.[^vl-ops]

Use case: Log search and analytics · Platforms: Self\-hosted server, Web · Region: Version, deployment, license and pipeline requirements apply

### [Substitute for Grafana Loki](/grafanaloki) — limited

Can cover log queries; query language, retention and authorization behavior differ\.[^vl-readme][^vl-query][^lo-readme]

Use case: Self\-hosted log storage and investigation · Platforms: Self\-hosted server, Web · Region: Version, deployment, license and pipeline requirements apply

## References

[^vl-license]: [VictoriaLogs license](<https://github.com/VictoriaMetrics/VictoriaLogs/blob/master/LICENSE>) — Apache License version 2\.0 header (vendor; retrieved 2026-10-07T01:54:16Z)

[^vl-readme]: [VictoriaLogs README](<https://github.com/VictoriaMetrics/VictoriaLogs/blob/master/README.md>) — Log database architecture, single\-node and cluster versions, web UI and Grafana integration (vendor; retrieved 2026-10-07T01:54:05Z)

[^vl-query]: [VictoriaLogs querying](<https://docs.victoriametrics.com/victorialogs/querying/>) — LogsQL queries; facet cardinality limits and stream\-list pagination caveat (vendor; retrieved 2026-10-07T01:54:37Z)

[^vl-ops]: [VictoriaLogs operating guide](<https://docs.victoriametrics.com/victorialogs/>) — Retention and backfilling, per\-day partition recovery and tenant authorization (vendor; retrieved 2026-10-07T01:54:47Z)

[^lo-readme]: [Grafana Loki README](<https://github.com/grafana/loki/blob/main/README.md>) — Logging architecture: label indexing, Alloy collection and Grafana visualization (vendor; retrieved 2026-10-07T01:53:53Z)

Source revision: https://substitutefor.net/entities/Q412?revision=398
