Introduction to KQL commands
Unlike SQL, a query starts with the data source, which can be either a table or an operator that produces a table, followed by commands that transform the data into what is needed. Each command will be separated using the pipe ( |
) delimiter.
What does this mean? If you are familiar with SQL, you would write a statement such as Select * from table
to get the values. The same query in KQL would just be table
, where table
refers to the name of the log. It is implied that you want all the columns and rows. Later, we will discuss how to minimize what information is returned.
We will only be scratching the surface of what KQL can do here, but it will be enough to get you started writing your own queries so that you can develop queries for Azure Sentinel.
The following table provides an overview of the commands, functions, and operators we will be covering in the rest of this chapter:
Note
For a complete list of all the...