帮助用户查询 Fabric Eventhouse 的 KQL 数据,并进行实时与时序分析监控。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "eventhouse-consumption-cli" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/skills-for-fabric/main/plugins/fabric-skills/skills/eventhouse-consumption-cli/SKILL.md 2. 保存为 ~/.claude/skills/eventhouse-consumption-cli/SKILL.md 3. 装好后重载技能,告诉我可以用了
请对 Fabric Eventhouse 运行只读 KQL 查询,统计最近 1 小时内 level=Error 的事件数量,并按 5 分钟分桶返回结果,同时导出为 JSON。
返回可执行的 KQL 查询、查询方式,以及按时间分桶的错误统计 JSON 结果。
请帮我查看这个 Eventhouse 中有哪些表,并展示某个表的列名、类型和基本元数据,使用 .show tables 和相关只读命令。
返回发现表结构的 KQL/命令示例,并整理出表与字段信息摘要。
请检查 Eventhouse 的数据摄取健康状态,并查看当前活跃的 KQL 查询,帮助我判断是否存在延迟、失败或查询拥堵问题。
返回用于监控摄取与查询状态的只读查询/命令,并总结潜在异常与排查方向。
Update Check — ONCE PER SESSION (mandatory) The first time this skill is used in a session, run the check-updates skill before proceeding.
- GitHub Copilot CLI / VS Code: invoke the
check-updatesskill.- Claude Code / Cowork / Cursor / Windsurf / Codex: compare local vs remote package.json version.
- Skip if the check was already performed earlier in this session.
CRITICAL NOTES
- To find the workspace details (including its ID) from workspace name: list all workspaces and, then, use JMESPath filtering
- To find the item details (including its ID) from workspace ID, item type, and item name: list all items of that type in that workspace and, then, use JMESPath filtering
| Task | Reference | Notes |
|---|---|---|
| Finding Workspaces and Items in Fabric | COMMON-CLI.md § Finding Workspaces and Items in Fabric |
| Mandatory — READ link first [needed for finding workspace id by its name or item id by its name, item type, and workspace id] |
| Fabric Topology & Key Concepts | COMMON-CORE.md § Fabric Topology & Key Concepts |
| Environment URLs | COMMON-CORE.md § Environment URLs | KQL Cluster URI is per-item |
| Authentication & Token Acquisition | COMMON-CORE.md § Authentication & Token Acquisition | Wrong audience = 401; read before any auth issue |
| Core Control-Plane REST APIs | COMMON-CORE.md § Core Control-Plane REST APIs |
| Pagination | COMMON-CORE.md § Pagination |
| Long-Running Operations (LRO) | COMMON-CORE.md § Long-Running Operations (LRO) |
| Rate Limiting & Throttling | COMMON-CORE.md § Rate Limiting & Throttling |
| OneLake Data Access | COMMON-CORE.md § OneLake Data Access | Requires storage.azure.com token, not Fabric token |
| Job Execution | COMMON-CORE.md § Job Execution |
| Capacity Management | COMMON-CORE.md § Capacity Management |
| Gotchas & Troubleshooting | COMMON-CORE.md § Gotchas & Troubleshooting |
| Best Practices | COMMON-CORE.md § Best Practices |
| Tool Selection Rationale | COMMON-CLI.md § Tool Selection Rationale |
| Authentication Recipes | COMMON-CLI.md § Authentication Recipes | az login flows and token acquisition |
Fabric Control-Plane API via az rest | COMMON-CLI.md § Fabric Control-Plane API via az rest | Always pass --resource https://api.fabric.microsoft.com or az rest fails |
| Pagination Pattern | COMMON-CLI.md § Pagination Pattern |
| Long-Running Operations (LRO) Pattern | COMMON-CLI.md § Long-Running Operations (LRO) Pattern |
OneLake Data Access via curl | COMMON-CLI.md § OneLake Data Access via curl | Use curl not az rest (different token audience) |
| Job Execution (CLI) | COMMON-CLI.md § Job Execution |
| OneLake Shortcuts | COMMON-CLI.md § OneLake Shortcuts |
…