globalbao/awesome-kql
Collection of awesome KQL queries for use in Portal and via PowerShell - by @JesseLoudon
🚀 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 typenhanh trên toàn subscription. - Kiểm tra tag thiếu: đếm resource group thiếu tag
costcentrehoặcapplication. - 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
vmSizetừ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
securityRulesvớimv-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.
21 Lessons, Get Started Building with Generative AI
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...
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
:file_folder: Universal File Management Platform (for humans and agents)