Query and analyze logs, telemetry, and time-series data in Azure Data Explorer.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "azure-kusto" skill from askskill: 1. Download https://raw.githubusercontent.com/microsoft/GitHub-Copilot-for-Azure/main/plugin/skills/azure-kusto/SKILL.md 2. Save it as ~/.claude/skills/azure-kusto/SKILL.md 3. Reload skills and tell me it's ready
Write a KQL query for Azure Data Explorer to count error logs per hour over the last 7 days, grouped by service name, and identify the top 5 services with the most errors.
A runnable KQL query with a brief explanation of the filtering, aggregation, and ranking logic.
Generate a KQL query to analyze temperature telemetry from a device table over the last 30 days, summarize daily averages, and flag obvious anomalous spikes.
A KQL query for time-series analysis and anomaly detection that helps identify abnormal dates quickly.
Here is a slow KQL query. Help me optimize it and explain how to reduce scanned data and improve execution efficiency: <paste query>
An optimized KQL version plus specific recommendations for improving query performance.
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:
…
Analyze Azure resource groups and generate Mermaid diagrams of resource relationships.
Set up Entra ID app registration, OAuth, permissions, and MSAL integration.
Set up Azure Application Insights telemetry for web apps with best practices.
Troubleshoot Azure Event Hubs and Service Bus SDK connection and messaging issues.
Find, list, and inspect Azure resources across subscriptions and resource groups.
Deploy, evaluate, fine-tune, and optimize Microsoft Foundry agents and models.
Query Azure Data Explorer in natural language without writing KQL.
Generate and run KQL from natural language with schema discovery for Azure Data Explorer.
Query Fabric Eventhouse data, analyze time series, and monitor ingestion health.
Safely diagnose Azure production issues across apps, containers, and messaging services.
Analyze Fabric warehouse performance via CLI and get optimization recommendations.
Query Azure Log Analytics workspaces with KQL to inspect logs and operational data.