In this article, we learn on how to use Count Operator in Kusto Query Language (KQL) , Just follow and ready clearly.

For more updates please do Subscribe via Email:

What is Kusto Query Language (KQL)

Kusto is a query language designed for big data workloads particularly using large amount of data in from things like logs and event sources. Kusto  query is a read-only request to process data and return results. KQL is the first party query language for Kusto cluster used by Azure Data Explorer. Kusto Query is only good for pulling or getting data from the data bank. for more article about Kusto. Please refer this link.

Kusto Query Language (KQL)

Count Operator

The Count Operator of Kusto is similar as SQL Count operator. The main functionality is to count a data in the table base on what where declared. Returns the number of records in the input record set.

Example

cluster('help.kusto.windows.net').database('Samples').StormEvents
| count

Syntax

T | count

Arguments

T: The tabular data whose records are to be counted.

Returns

This function returns a table with a single record and column of type long. The value of the only cell is the number of records in T.

Implementation

cluster('help.kusto.windows.net').database('Samples').StormEvents
| count

Happy Learning..

Thank you for visiting my blog site. Hoping you learn more here. please feel free to comment and suggest if there is need to enhance and update. thank you.

Related Topics

Leave a Reply

Your email address will not be published. Required fields are marked *