Home / Search/ Language Reference/ Virtual Tables/$vt_datasets

$vt_datasets

The $vt_datasets virtual table lists available Datasets.

// returns a list of all Datasets available to the current user
dataset="$vt_datasets"

Purpose

Use $vt_datasets to quickly find Datasets of a specific type or with specific name patterns.

Permissions

Search Member TypePermissions
AdminCan see all Datasets in their organization.
EditorCan see only those Datasets that they created themselves or that were shared with them.
UserCan see only those Datasets that were shared with them.

Syntax

dataset="$vt_datasets"

Returns

Returns one event for each available Dataset. Each event contains the following fields:

FieldDescription
idThe Dataset ID.
descriptionThe Dataset description.
providerThe id, description, and type of the Dataset Provider.

Examples

List all your S3 Datasets.

dataset="$vt_datasets"
  | where provider.type == "s3"

Count the number of Datasets of each type.

dataset="$vt_datasets"
  | summarize count() by provider.type