skillfed

azure-mgmt-loganalytics

Microsoft Azure Loganalytics Management Client Library for Python

azure-mgmt-loganalytics v14.0.0 7.7M downloads/30d#1,706 on PyPI5,588
Permissive license MIT Active released

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 on this page — 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

azure-mgmt-loganalytics on PyPI

pip

pip install azure-mgmt-loganalytics

uv

uv add azure-mgmt-loganalytics

poetry

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 the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 3 — isodate, azure-mgmt-core, typing-extensions
Maintenance actively maintained — 51 days since the last release
Last repo commit
First released
Downloads 7,704,407/month — #1,706 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_mgmt_loganalytics-14.0.0-py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 5 - Production/StableProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

azure log analytics managementazure workspace management pythonazure loganalytics client librarymanage azure log analytics resourcesazure sdk log analyticsazure data export managementazure workspace provisioning
azure-sdkcloud-managementinfrastructure-as-code

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-mgmt-datafactory

Manages Azure Data Factory resources—factories,…

permissive · top 5,000 on PyPI

azure-mgmt-managementgroups

Provides a Python client library to manage…

permissive · top 5,000 on PyPI

azure-loganalytics

Provides a Python client for querying Azure Log…

permissive · top 5,000 on PyPI

azure-mgmt-streamanalytics

Provides Python client library for managing…

permissive · top 15,000 on PyPI

azure-mgmt-web

Provides programmatic management of Azure Web…

permissive · top 5,000 on PyPI

azure-mgmt-costmanagement

Provides Python bindings to the Azure Cost…

permissive · top 5,000 on PyPI

azure-mgmt-batch

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-storage

Manages Azure Storage accounts, containers,…

permissive · top 5,000 on PyPI

gooddata-sdk

Provides a Python API to interact with GoodData…

permissive · top 15,000 on PyPI