Repository
globalbao

globalbao/awesome-kql

Collection of awesome KQL queries for use in Portal and via PowerShell - by @JesseLoudon

99sao
25fork
0issue
2lượt xem

🚀 Bộ sưu tập KQL thực chiến cho Azure Monitor & Resource Graph

Hơn 90 truy vấn KQL miễn phí, dùng ngay trên Azure Portal, PowerShell, giám sát Key Vault, tuân thủ tag, kiểm soát VM, IP, NSG, SQL, ExpressRoute, App Service.

Awesome KQL là kho truy vấn Kusto Query Language (KQL) do Jesse Loudon (@coder_au) tổng hợp, tập trung vào Azure Monitor (AzureDiagnostics) và Azure Resource Graph (Resources, ResourceContainers). Mỗi truy vấn đi kèm tên/tên tài nguyên mục tiêu — copy-paste ngay lên Portal hoặc chạy qua PowerShell.

✨ Điểm nổi bật

  • Key Vault hết hạn: tính ngày còn lại trước khi secret hết hạn qua SecretNearExpiryEventGridNotification.
  • Đếm tài nguyên theo type: summarize count() by type nhanh trên toàn subscription.
  • Kiểm tra tag thiếu: đếm resource group thiếu tag costcentre hoặc application.
  • Liệt kê tag rộng rãi: dùng union + mvexpand parsejson(tags) để truy xuất từng cặp tag name/value.
  • VM & kích thước: lấy vmSize từ properties.hardwareProfile.
  • Public IP cụ thể: tìm resource theo địa chỉ IP bằng properties.ipAddress.
  • Load Balancer SKU: lọc Standard SKU bằng sku.name.
  • SQL Database loại trừ Master: name notcontains "master".
  • NSG rules chi tiết: mở rộng securityRules với mv-expand, lấy direction, priority, protocol, source/dest prefix.

💡 Vì sao đáng chú ý

Không phải tutorial lý thuyết — đây là kho truy vấn sống, mỗi câu lệnh đều áp dụng trực tiếp vào tình huống quản lý Azure thực tế: từ giám sát bảo mật (Key Vault hết hạn), tuân thủ doanh nghiệp (tag thiếu), đến khảo sát hạ tầng (VM, IP, NSG). Phù hợp cho cloud engineer, security engineer và team vận hành muốn khai thác hết tiềm năng của KQL trên Azure.


#Azure #KQL #AzureMonitor #ResourceGraph #Cloud #DevOps #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

Repository
tobiasmcvey/kusto-queries

example queries for learning the kusto language

111
Jun 23, 2021
RepositoryJupyter Notebook
microsoft/generative-ai-for-beginners

21 Lessons, Get Started Building with Generative AI

124.7k
Dec 2, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026
RepositoryTypeScript
LibreChat-AI/LibreChat

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

47.6k
Nov 29, 2026
RepositoryGo
pulumi/pulumi

Pulumi - Infrastructure as Code in any programming language 🚀

26.0k
Nov 30, 2026
RepositoryGo
getsops/sops

Simple and flexible tool for managing secrets

23.9k
Nov 30, 2026
Repository
milanm/DevOps-Roadmap

DevOps Roadmap for 2026. with learning resources

21.0k
Nov 23, 2026
RepositoryGo
mickael-kerjean/filestash

:file_folder: Universal File Management Platform (for humans and agents)

14.9k
Nov 27, 2026
RepositoryBicep
Azure/azure-quickstart-templates

Azure Quickstart Templates

14.9k
Nov 30, 2026