take operator

Return up to the specified number of rows.

T | take 5

There is no guarantee which records are returned, unless the source data is sorted.


take is a simple, quick, and efficient way to view a small sample of records when browsing data interactively, but be aware that it doesn't guarantee any consistency in its results when executing multiple times, even if the data set hasn't changed. Even if the number of rows returned by the query isn't explicitly limited by the query (no take operator is used), Kusto limits that number by default. For more details, see Kusto query limits.


take NumberOfRows limit NumberOfRows

(take and limit are synonyms.)

Paging of query results

Methods for implementing paging include:

  • Export the result of a query to an external storage and paging through the generated data.
  • Write a middle-tier application that provides a stateful paging API by caching the results of a Kusto query.
  • Use pagination in Stored query results .

See also