Skip to content

app/vlselect: add multi-tenant querying via /select/multitenant/logsql/* endpoints#1576

Draft
func25 wants to merge 1 commit into
masterfrom
multitenant-query
Draft

app/vlselect: add multi-tenant querying via /select/multitenant/logsql/* endpoints#1576
func25 wants to merge 1 commit into
masterfrom
multitenant-query

Conversation

@func25

@func25 func25 commented Jul 5, 2026

Copy link
Copy Markdown
Member

Closes #91

Adds an opt-in /select/multitenant/logsql/* endpoint set (gated by -multitenantselect.enable, instead of -multitenantSelect.enable, for consistency with internalselect and internaldelete) that runs a single query across multiple tenants.

Tenants are selected through the vl_account_id/vl_project_id pseudo-fields, and matching rows are attributed with those columns. The tenant list is resolved from the query filter. The multitenant flag is propagated to vlstorage, so the internal protocol version is bumped to v6.

Multitenant through internalselect is guarded by -internalselect.disable.

  • Core: add opt-in /select/multitenant/logsql/* endpoints (gated by -multitenantSelect.enable) that allows querying across multiple tenants.
  • Docs, CHANGELOG
  • Tests

@func25
func25 force-pushed the multitenant-query branch from 8d27fe1 to 843dfba Compare July 21, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Victorialogs] Add support for multitenant querying

1 participant