🎉 Azure Monitor Natural #### 📊 KQL Examples & 1. 🌐 Web Interface - Full-featured UI at http://localhost:8080etadata
app_insights_capsule/- Application Insights documentation capsulekql_examples/- KQL examples (8 files)- Entity-specific KQL examples (requests, exceptions, traces, dependencies, etc.)
- Multi-entity query examples
metadata/- Application Insights table schema documentation (3 files)- Table schema documentation (AppRequests, AppExceptions, AppTraces metadata)
usage_kql_examples.md- General Log Analytics usage examplesuage KQL Agent
A comprehensive Azure Log Analytics natural language query system that translates plain English questions into KQL queries. Features multiple interfaces (web, CLI, API) and intelligent query processing with Azure OpenAI integration.
web_app.py- Flask web application (445 lines)templates/index.html- Modern responsive UI- Features: Interactive workspace setup, real-time results, suggestion pills
logs_agent.py- Core NL agent with timespan detection (524 lines)nl_to_kql.py- Context-aware translation engine (230 lines)- Features: Smart time detection, example-driven translation, error recovery
azure_agent/monitor_client.py- Azure SDK wrappermain.py- Legacy CLI interface (250 lines)server_manager.py- Multi-interface launcher (132 lines)start.py- Interface selector (146 lines)
app_*_kql_examples.md- Entity-specific KQL examples (8 files)app_*_metadata.md- Table schema documentation (3 files)usage_kql_examples.md- General usage examples
my-first-mcp-server/- Model Context Protocol serverrest_api.py- HTTP API servermcp_server.py- MCP protocol implementation
setup_azure_openai.py- Environment configuration.env.template- Environment variable templaterequirements.txt- Python dependencies
- � Web Interface - Full-featured UI at
http://localhost:5000 - � CLI Agent - Interactive terminal interface
- � HTTP API - REST endpoints for integration
- 🤖 MCP Server - AI assistant integration
- 🧠 Smart Translation - Context-aware NL-to-KQL conversion
- ⏰ Time Detection - Automatic timespan handling
- � Example System - Curated query examples
- 🔧 Environment Setup - Automated configuration
# Direct web interface
python web_app.py# Interface Options
python web_app.py # Web UI
python server_manager.py agent # CLI agent
python server_manager.py http # REST API
python server_manager.py mcp # MCP server
# Setup & Testing
python setup_azure_openai.py # Configure environment
python server_manager.py test # Test functionalitymain.py- Legacy CLI interface (still referenced)logs_agent.py- Core agent logicweb_app.py- Web interfaceserver_manager.py- Server managementnl_to_kql.py- Translation enginesetup_azure_openai.py- Setup utilityazure_agent/monitor_client.py- Azure integrationtemplates/index.html- Web UI templatemy-first-mcp-server/- MCP implementation- All
app_*_kql_examples.mdandapp_*_metadata.mdfiles requirements.txt,.env.template- Configuration
README.md- Project documentationCONTRIBUTING.md- Contribution guidelinesusage_kql_examples.md- Example queries