# KQL Cheat Sheet

Kusto syntax for hunting in Defender XDR and Sentinel: operators, time windows, joins, and aggregation.

KQL runs Defender XDR advanced hunting, Microsoft Sentinel, Azure Data Explorer and Azure Monitor. One grammar, four surfaces.

## Before you read the table

- Everything is case-sensitive: tables, columns, operators and functions.
- Defender tables use Timestamp. Sentinel and Azure Monitor tables use TimeGenerated. A query that returns nothing across products is usually one of these two things.

## Related

- [Hunt Query Builder: KQL](https://www.cyberkit.win/tools/hunt-query/?tab=kql)
- [SPL Cheat Sheet](https://www.cyberkit.win/reference/spl-cheatsheet/)
- [Rule Range: Query pipeline](https://www.cyberkit.win/drills/rule-range/?stage=pipeline)

Canonical: https://www.cyberkit.win/reference/kql-cheatsheet/

This is a static reference page. It does not collect anything.
