Skip to content
SHOGUNET
Journal

Building a Microsoft Sentinel Lab to Learn KQL

Setting up a small, cost-conscious Sentinel workspace to practise Kusto Query Language against real sign-in data.

James Houlder1 min read
On this page
  1. Lab goals
  2. Keeping costs sensible
  3. A first query
  4. What I want to learn

Draft. Planned lab — no results yet.

Lab goals

  • Deploy a Log Analytics workspace with Sentinel
  • Connect Entra ID sign-in logs
  • Write and iterate on detection queries

Keeping costs sensible

Planned notes on data retention and ingestion limits.

A first query

SigninLogs
| where TimeGenerated > ago(7d)
| where ResultType != 0
| summarize Failures = count() by UserPrincipalName, IPAddress
| order by Failures desc

What I want to learn

To be written.

  • #sentinel
  • #kql
  • #azure
  • #siem

Related articles