eventhouse-consumption-cli

Runs read-only KQL queries against Microsoft Fabric Eventhouse via command-line.

14|3|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/patrikborosch/AnalyticsPlatformAgents --skill eventhouse-consumption-cli-patrikborosch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eventhouse-consumption-cli
Source: https://github.com/patrikborosch/AnalyticsPlatformAgents/tree/main/creator/skills/eventhouse-consumption-cli
Command: npx skills add https://github.com/patrikborosch/AnalyticsPlatformAgents --skill eventhouse-consumption-cli-patrikborosch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Users working with Microsoft Fabric Eventhouse and KQL Databases need to run read-only queries for real-time intelligence, time-series analytics, schema discovery, and ingestion monitoring, but lack a streamlined CLI workflow to execute these tasks efficiently without manual portal navigation.

Core Features & Use Cases

  • Read-Only KQL Query Execution: Run KQL queries (including where, summarize, join, and render operators) against Eventhouse/KQL Databases via az rest for real-time and time-series analysis.
  • Schema & Metadata Discovery: Explore Eventhouse table schemas, functions, materialized views, policies, and ingestion mappings using native KQL discovery commands.
  • Monitoring & Diagnostics: Track active queries, recent command history, and ingestion failures to troubleshoot data freshness and performance issues.
  • Use Case: A data analyst can quickly explore an Eventhouse's sales data, run time-series aggregation queries to identify hourly error trends, and export results to JSON for reporting without leaving the CLI.

Quick Start

Use the eventhouse-consumption-cli skill to run a read-only KQL query against your Fabric Eventhouse to count error events from the last 24 hours and export the results to a JSON file.

Frequently Asked Questions about eventhouse-consumption-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run read-only KQL queries on a Microsoft Fabric Eventhouse from the command line?

You can run read-only KQL queries on a Microsoft Fabric Eventhouse from the command line by using the Azure CLI (`az rest`) to authenticate and interact directly with the Kusto REST API for real-time analytics.

Can I discover table schemas and ingestion mappings in a KQL Database without using the Azure portal?

Yes, you can discover table schemas, functions, materialized views, policies, and ingestion mappings in a KQL Database without portal navigation by executing native KQL discovery commands directly through your CLI interface.

What do I need to execute KQL queries against a Fabric Eventhouse using Azure CLI?

To execute KQL queries against a Fabric Eventhouse using Azure CLI, you need the `az rest` command, `jq` for processing JSON, and valid Microsoft Fabric workspace and KQL Database permissions to authorize Kusto REST API interactions.

How do I monitor ingestion failures and active queries in a Fabric Eventhouse?

You can monitor ingestion failures and active queries in a Fabric Eventhouse by running diagnostic KQL commands via your CLI to track recent command history and troubleshoot data freshness or performance issues efficiently.

Does this approach support exporting KQL time-series query results to JSON for reporting?

Yes, this CLI approach supports exporting KQL time-series query results to JSON, allowing data analysts to run aggregations using where, summarize, join, and render operators, and save the outputs directly for reporting workflows.

What is the best way to troubleshoot data freshness issues in a KQL Database via CLI?

The best way to troubleshoot data freshness issues in a KQL Database via CLI is to run read-only diagnostic queries to track recent command history, monitor active queries, and identify ingestion failures through the Kusto REST API.