使用 KQL 查询和分析 Azure Data Explorer 中的日志、遥测与时序数据。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "azure-kusto" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/GitHub-Copilot-for-Azure/main/plugin/skills/azure-kusto/SKILL.md 2. 保存为 ~/.claude/skills/azure-kusto/SKILL.md 3. 装好后重载技能,告诉我可以用了
请为 Azure Data Explorer 编写一段 KQL,统计过去 7 天每小时的错误日志数量,按服务名分组,并找出错误数最高的前 5 个服务。
返回可直接运行的 KQL 查询,并说明关键筛选、聚合和排序逻辑。
请生成 KQL 查询,分析某设备表中过去 30 天的温度遥测数据,按天汇总平均值,并标记明显异常波动。
输出用于时序分析和异常检测的 KQL 查询,可用于快速定位异常日期。
下面是一段运行较慢的 KQL 查询,请帮我优化它,并解释如何减少扫描数据量与提升执行效率:<粘贴查询>
返回优化后的 KQL 版本,并给出具体的性能优化建议。
Execute KQL queries and manage Azure Data Explorer resources for fast, scalable big data analytics on log, telemetry, and time series data.
Use this skill immediately when the user asks to:
Key Indicators:
This skill enables querying and managing Azure Data Explorer (Kusto), a fast and highly scalable data exploration service optimized for log and telemetry data. Azure Data Explorer provides sub-second query performance on billions of records using the Kusto Query Language (KQL).
Key capabilities:
Fetch recent records from a table with simple filtering.
Example KQL:
Events
| where Timestamp > ago(1h)
| take 100
Use for: Quick data inspection, recent event retrieval
Summarize data by dimensions for insights and reporting.
Example KQL:
Events
| summarize count() by EventType, bin(Timestamp, 1h)
| order by count_ desc
Use for: Event counting, distribution analysis, top-N queries
Analyze data over time windows for trends and patterns.
Example KQL:
Telemetry
| where Timestamp > ago(24h)
| summarize avg(ResponseTime), percentiles(ResponseTime, 50, 95, 99) by bin(Timestamp, 5m)
| render timechart
Use for: Performance monitoring, trend analysis, anomaly detection
Combine multiple tables for cross-dataset analysis.
Example KQL:
Events
| where EventType == "Error"
| join kind=inner (
Logs
| where Severity == "Critical"
) on CorrelationId
| project Timestamp, EventType, LogMessage, Severity
Use for: Root cause analysis, correlated event tracking
Explore table structure before querying.
Tools: kusto_table_schema_get
Use for: Understanding data model, query planning
When executing queries, common field patterns:
ago(), between(), bin() for time filteringQuery results include:
🟢 Performance Optimized:
…
帮助开发者为 Web 应用接入 Azure Application Insights 并配置遥测采集。
调用 Azure AI 完成搜索、语音转写、文本转语音与 OCR 识别
分析并精简 Markdown 内容,降低 token 消耗并提升 AI 处理效率。
用于迭代检查并修复技能 frontmatter 合规性、分数与 token 问题。
帮助你编写、审查并规范符合 agentskills.io 规范的技能文档
帮助你编写、校验并运行基于 eval.yaml 的智能体评测套件
帮助你查询 Fabric Eventhouse 数据、分析时序趋势并监控摄取状态。
帮助用户查询 Fabric Eventhouse 的 KQL 数据,并进行实时与时序分析监控。
帮助用户对 Fabric Eventhouse 执行 KQL 查询、分析时序数据并查看表结构与摄取状态。
帮助你安全排查 Azure 生产故障,定位应用、容器与消息服务根因
通过命令行分析 Fabric 数据仓库性能,定位慢查询与资源压力并给出优化建议。
通过命令行分析 Fabric 数据仓库性能瓶颈并给出优化建议。