--- id: azure-mgmt-loganalytics version: "14.0.0" license: MIT license_treatment: permissive maintenance: active --- # azure-mgmt-loganalytics — Microsoft Azure Loganalytics Management Client Library for Python License: permissive · Maintenance: active · Downloads: 7.7M/mo ## What it is and what it does This is the official Microsoft Azure SDK client library for programmatically managing Log Analytics resources in Azure. It provides a LogAnalyticsManagementClient that wraps Azure's management API, allowing you to create and configure workspaces, manage data sources, handle data exports, set up linked services, and perform other administrative tasks on Log Analytics infrastructure. The package depends on isodate for date handling, azure-mgmt-core for shared Azure SDK infrastructure, and typing-extensions for type hints. It requires Python 3.10 or later and uses Microsoft Entra for authentication via environment variables. Version 14.0.0 introduced significant structural changes to models, moving many properties under a properties field, which may require code updates if upgrading from earlier versions. Use it for: - Automate creation and configuration of Azure Log Analytics workspaces as part of infrastructure-as-code deployments - Programmatically manage data sources and ingestion settings for Log Analytics workspaces - Set up data exports to external destinations for compliance or archival purposes - Configure linked services and storage accounts for Log Analytics resources in multi-workspace environments - Manage saved searches and query packs across multiple workspaces via automation ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides a Python client library for managing Azure Log Analytics resources, including workspaces, data sources, saved searches, and related infrastructure through Azure's management API. Yes, if you need to manage Azure Log Analytics resources programmatically. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and is part of the official Azure SDK. However, be aware that version 14.0.0 contains breaking changes requiring code migration if upgrading from earlier versions. ## Install pip install azure-mgmt-loganalytics uv add azure-mgmt-loganalytics poetry add azure-mgmt-loganalytics ## Installing azure-mgmt-loganalytics Before you install: Low install friction with a pure-Python wheel distribution. The package is actively maintained with a recent release (51 days old) and active repository status. Requires Python 3.10 or later. License in practice: Licensed under MIT (permissive), allowing commercial and private use with minimal restrictions. Quickstart: pip install azure-mgmt-loganalytics from azure.mgmt.loganalytics import LogAnalyticsManagementClient from azure.mgmt.core import get_client_from_auth_file client = LogAnalyticsManagementClient( subscription_id="your-subscription-id", credential=credential ) Requires Python 3.10 or later and Azure subscription credentials configured via environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID). Verify before relying: - Whether azure-identity is a required runtime dependency or only needed for authentication examples - Specific breaking changes in version 14.0.0 and migration effort required for existing code - Full scope of operations available through LogAnalyticsManagementClient beyond those listed in release notes ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 7.7M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure log analytics management, azure workspace management python, azure loganalytics client library, manage azure log analytics resources, azure sdk log analytics, azure data export management, azure workspace provisioning, azure-sdk, cloud-management, infrastructure-as-code [View on SkillFed](https://skillfed.io/packages/azure-mgmt-loganalytics) · [View on PyPI](https://pypi.org/project/azure-mgmt-loganalytics/)