skills/azure-data-explorer-kusto-queries/SKILL.md
Comprehensive guide for Azure Data Explorer (ADX) and Kusto Query Language (KQL); use when writing/optimizing KQL queries, setting up ingestion, building dashboards, doing time-series/ML analysis, configuring management/security, or when users mention Kusto, KQL, ADX, Azure Data Explorer, or log analytics queries.
npx skillsauth add johnsonshi/skills365 azure-data-explorer-kusto-queriesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Comprehensive skill for Azure Data Explorer (ADX) - Microsoft's fast, fully managed data analytics service for real-time analysis on large volumes of streaming data.
| Task | Go To | |------|-------| | Write a KQL query | kql-query-language/ | | Ingest data into ADX | data-ingestion/ | | Create dashboards | visualization-dashboards/ | | Time series / ML | time-series-ml/ | | Manage tables / policies | management-commands/ |
TableName
| where TimeGenerated > ago(1h)
| where Level == "Error"
| summarize Count = count() by bin(TimeGenerated, 5m), Source
| order by TimeGenerated desc
| Operator | Purpose | Example |
|----------|---------|---------|
| where | Filter rows | where Status == 200 |
| project | Select columns | project Name, Age |
| extend | Add computed column | extend Duration = EndTime - StartTime |
| summarize | Aggregate | summarize count() by Category |
| join | Combine tables | join kind=inner OtherTable on Key |
| order by | Sort results | order by Timestamp desc |
| take | Limit rows | take 100 |
| distinct | Unique values | distinct UserName |
| parse | Extract from string | parse Message with * "error:" ErrorMsg |
| mv-expand | Expand arrays | mv-expand Tags |
Time filtering:
| where TimeGenerated > ago(24h)
| where TimeGenerated between (datetime(2024-01-01) .. datetime(2024-01-31))
Aggregation:
| summarize
Count = count(),
AvgDuration = avg(Duration),
P95 = percentile(Duration, 95)
by bin(TimeGenerated, 1h)
String searching (prefer has over contains for performance):
| where Message has "error" // Fast - word boundary match
| where Message contains "err" // Slow - substring match
Join:
Table1
| join kind=leftouter (Table2) on CommonKey
645+ functions and operators for data analysis.
Reference: feature-area-skill-resources/kql-query-language/reference.md
Best Practices: feature-area-skill-resources/kql-query-language/best-practices.md
has vs contains)Examples: feature-area-skill-resources/kql-query-language/examples.md
Multiple methods to get data into ADX.
Reference: feature-area-skill-resources/data-ingestion/reference.md
Best Practices: feature-area-skill-resources/data-ingestion/best-practices.md
Examples: feature-area-skill-resources/data-ingestion/examples.md
Native dashboards and external integrations.
Reference: feature-area-skill-resources/visualization-dashboards/reference.md
render operator for inline visualizationBest Practices: feature-area-skill-resources/visualization-dashboards/best-practices.md
Examples: feature-area-skill-resources/visualization-dashboards/examples.md
Advanced analytics for IoT, monitoring, and forecasting.
Reference: feature-area-skill-resources/time-series-ml/reference.md
make-series operatorseries_decompose, series_decompose_anomaliesseries_decompose_forecastBest Practices: feature-area-skill-resources/time-series-ml/best-practices.md
Examples: feature-area-skill-resources/time-series-ml/examples.md
297+ commands for schema, policies, and security.
Reference: feature-area-skill-resources/management-commands/reference.md
Best Practices: feature-area-skill-resources/management-commands/best-practices.md
Examples: feature-area-skill-resources/management-commands/examples.md
Programmatic access via REST API and client SDKs.
Reference: feature-area-skill-resources/api-sdk-integration/reference.md
Best Practices: feature-area-skill-resources/api-sdk-integration/best-practices.md
Examples: feature-area-skill-resources/api-sdk-integration/examples.md
Authentication, authorization, and data protection.
Reference: feature-area-skill-resources/security-access-control/reference.md
Best Practices: feature-area-skill-resources/security-access-control/best-practices.md
Examples: feature-area-skill-resources/security-access-control/examples.md
Cluster operations, scaling, and monitoring.
Reference: feature-area-skill-resources/cluster-management/reference.md
Best Practices: feature-area-skill-resources/cluster-management/best-practices.md
Examples: feature-area-skill-resources/cluster-management/examples.md
High availability and disaster recovery.
Reference: feature-area-skill-resources/business-continuity/reference.md
Best Practices: feature-area-skill-resources/business-continuity/best-practices.md
Examples: feature-area-skill-resources/business-continuity/examples.md
Azure service integrations.
Reference: feature-area-skill-resources/integration-services/reference.md
Best Practices: feature-area-skill-resources/integration-services/best-practices.md
Examples: feature-area-skill-resources/integration-services/examples.md
Pre-built user-defined functions for advanced analytics.
Reference: feature-area-skill-resources/udf-functions-library/reference.md
Best Practices: feature-area-skill-resources/udf-functions-library/best-practices.md
Examples: feature-area-skill-resources/udf-functions-library/examples.md
Desktop, CLI, and web tools.
Reference: feature-area-skill-resources/tools-clients/reference.md
Best Practices: feature-area-skill-resources/tools-clients/best-practices.md
Examples: feature-area-skill-resources/tools-clients/examples.md
The complete Microsoft documentation is available as a submodule at:
submodules/dataexplorer-docs/
Detailed analysis from the skill creation process:
investigation-reports/repository-layout/ - Repo structure analysisinvestigation-reports/feature-overview/ - Feature taxonomy and mappinginvestigation-reports/feature-in-depth/ - Comprehensive research per featuretesting
Azure-specific PowerPoint guidance and assets for creating/editing .pptx presentations; use with the base pptx skill when users need Azure-branded slide design, architecture visuals, icons, color palettes, storytelling structure, and speaker-note-driven slide workflows.
development
Multi-phase workflow for converting documentation repositories into comprehensive skills; use when creating or refreshing skills from docs/codebases, investigating large repos systematically, or turning submodule knowledge into investigation reports plus generated skill content.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.