Returns the number of events from the input dataset.

Syntax

| count

Run in Playground

Returns

This function returns a table with a single data and column. The value of the only cell is the number of events in the dataset.

Examples

['http-logs']
| where method == 'GET'
| count

Run in Playground

['http-logs']
| count

Run in Playground