kusto_sample_entity
Retrieve a sample of records from a Kusto entity like a table or view. Specify entity name, type, cluster URI, and optional sample size or database.
Instructions
Retrieves a data sample from the specified entity.
If no database is provided, uses the default database.
:param entity_name: Name of the entity to sample data from.
:param entity_type: Type of the entity (table, external-table, materialized-view, function, graph).
:param cluster_uri: The URI of the Kusto cluster.
:param sample_size: Number of records to sample. Defaults to 10.
:param database: Optional database name. If not provided, uses the default database.
:param client_request_properties: Optional dictionary of additional client request properties.
:return: List of dictionaries containing sampled records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_name | Yes | ||
| entity_type | Yes | ||
| cluster_uri | Yes | ||
| sample_size | No | ||
| database | No | ||
| client_request_properties | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||