Introduction to Kusto Query Language (KQL) in Azure Log Analytics
Learn KQL fundamentals by querying real log data in Azure Log Analytics using search, where, project, and summarize operators.

Lab overview
Kusto Query Language (KQL) is the primary query language used across Azure Monitor, Microsoft Sentinel, Azure Data Explorer, and Microsoft Defender. In this lab, you will learn KQL fundamentals by querying real log data inside an Azure Log Analytics workspace. Starting with basic operators like search, where, and project, you will progress to aggregating data with summarize and visualizing results with render — all within the Azure Portal's Logs query editor.
Objectives
Upon completion of this beginner level lab, you will be able to:
- Navigate to a Log Analytics workspace and use the Logs query editor
- Write basic KQL queries using
search,where,project, andtakeoperators - Filter, sort, and format query results using
extend,sort by, andtop - Aggregate data using
summarizewithcount(),avg(), andbin() - Create time-based queries using
ago()and render visual charts
Who is this lab for?
This lab is designed for:
- Cloud engineers getting started with Azure monitoring
- Security analysts learning log analysis fundamentals
- DevOps engineers who need to query Azure Monitor logs
- IT administrators managing Azure environments
Verified against your live environment
An automated validation engine inspects your actual resources and configurations as you work. Completion means the task was performed, not multiple choice, real-world proficiency.
More labs like this
Use Speech Synthesis Markup Language (SSML) to Improve Azure AI Speech Generation
Learn how to use Speech Synthesis Markup Language (SSML) to improve Azure AI Speech Generation with voice selection, timing control, and emotional expressions.
Managing Azure Blob Storage Operations with Azure CLI
Learn how to perform essential Azure Blob Storage operations using Azure CLI commands. Practice uploading, downloading, listing, and deleting blobs with batch operations.
Analyze Text Using Azure AI Language SDK in Python
Learn to extract key phrases, recognize entities, and detect PII in text using Azure AI Language SDK in Python for document analysis and privacy compliance.
Related reading
Environment
Every lab includes
- Real environment, pre-credentialed
- Automated checks on every step
- Isolated sandbox, auto cleanup
- AI-recommended next steps
Lab curriculum
- 01
Logging into Azure Account using Azure Portal
- 02
Navigating to Log Analytics and Writing Basic KQL Queries
1 automated check
- 03
Aggregating and Visualizing Data with KQL
1 automated check
Skills validated
Not the lab you were looking for?
Browse 200+ hands-on labs across AWS, Azure, Kubernetes, Docker, and cloud security.