kql

仓库创建 2026年1月17日最近提交 20 天前SkillHot 收录 20 天前
▸ 精选理由

适用于大规模时序与日志数据分析,包含实战与性能注意点。

这个 Skill 做什么

提供 Kusto Query Language 的专业查询编写与优化建议。

帮你写、调试和优化 Kusto Query Language(KQL)查询,覆盖语法陷阱、join 模式、datetime 问题、性能和内存考量等常见错误。用在 Azure Data Explorer、Log Analytics 或 Fabric 的数据探索、告警和分析时,能避免低效查询带来的成本与重试。特别强调各种 gotchas 与高阶函数(geo、vector、graph)的实用写法,让查询既正确又高效。

▸ 展开 SKILL.md 英文原文

KQL language expertise for writing correct, efficient Kusto Query Language queries. Covers syntax gotchas, join patterns, dynamic types, datetime pitfalls, regex patterns, serialization, memory management, result-size discipline, and advanced functions (geo, vector, graph). USE THIS SKILL whenever writing, debugging, or reviewing KQL queries — even simple ones — because the gotchas section prevents the most common errors that waste tool calls and cause expensive retry cascades. Trigger on: KQL, Kusto, ADX, Azure Data Explorer, Fabric Real-Time Intelligence, EventHouse, Log Analytics, log analysis, data exploration, time series, anomaly detection, summarize, where clause, join, extend, project, let statement, parse operator, extract function, any mention of pipe-forward query syntax.

数据与抓取KQL查询优化日志分析通用
2.7k
Stars
304
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/microsoft/skills/main/.github/skills/kql/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/microsoft/skills/main/.github/skills/kql/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# KQL Mastery

> **Try it yourself**: All `✅` examples in this skill can be run against the public help cluster:
> `https://help.kusto.windows.net`, database `Samples` (contains `StormEvents`, `SimpleGraph_Nodes`/`Edges`, `nyc_taxi`, and more).

## 1. KQL Basics

Kusto Query Language (KQL) is a pipe-forward query language for exploring data. It is the native query language for Azure Data Explorer (ADX), Microsoft Fabric Real-Time Intelligence (EventHouse), Azure Monitor Log Analytics, Microsoft Sentinel, and other Microsoft data services.

### Pipe-forward syntax

KQL queries are a chain of operators separated by `|`. Data flows left to right:

```kql
StormEvents                          // 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有