skillfed

azure-loganalytics

Microsoft Azure Log Analytics Client Library for Python

azure-loganalytics v0.1.1 1.8M downloads/30d#3,505 on PyPI5,588
Permissive license MIT License Active released

What it is and what it does

azure-loganalytics is a Python client library for the Microsoft Azure Log Analytics service, allowing developers to query and retrieve log data from Azure workspaces. It depends on msrest, azure-common, and azure-nspkg to handle REST communication and Azure SDK infrastructure.

However, this package has been explicitly marked as no longer maintained since November 2021. Microsoft has published a migration guide and recommends using azure-monitor-query as its replacement. New projects should not adopt this package; existing users should plan migration to the successor library.

Use it for:

  • Querying historical Log Analytics data from legacy applications still running on older codebases
  • Migrating away from this package to azure-monitor-query using the provided migration guide
  • Maintaining existing Python 2.7 or early Python 3 applications that depend on this client

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides a Python client for querying Azure Log Analytics workspaces, though the package is no longer maintained and has been superseded by azure-monitor-query.

No. This package is explicitly unmaintained and superseded by azure-monitor-query. While it carries low install friction and no known vulnerabilities, its inactive status means no bug fixes or API updates will be provided. Existing users should migrate using the published guide; new projects should use azure-monitor-query directly.

Install

azure-loganalytics on PyPI

pip

pip install azure-loganalytics

uv

uv add azure-loganalytics

poetry

poetry add azure-loganalytics

Installing azure-loganalytics

Before you install

Low install friction, but maintenance status is inactive as of the latest release in November 2021. The package is explicitly marked as no longer maintained in its own description.

License in practice

MIT License permits use, modification, and distribution with minimal restrictions, suitable for most projects.

Quickstart

pip install azure-loganalytics
from azure.loganalytics import LogAnalyticsClient
# Note: This package is no longer maintained; use azure-monitor-query instead

Package is inactive and no longer maintained; Microsoft recommends migrating to azure-monitor-query

Verify before relying

  • Whether existing deployments using this package will continue to function with current Azure service APIs
  • Compatibility with modern Python versions beyond 3.7, given the package's age and inactive status

Package facts

License MIT License (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 3 — msrest, azure-common, azure-nspkg
Maintenance actively maintained — 1,736 days since the last release
Last repo commit
First released
Downloads 1,835,059/month — #3,505 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_loganalytics-0.1.1-py2.py3-none-any.whl

Development Status :: 7 - InactiveLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7

Tags

azure log analytics clientquery azure logs pythonazure monitor legacyazure loganalytics sdkdeprecated azure monitoring
deprecatedazure-sdk

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-applicationinsights

Provides a Python client library for querying…

permissive · top 5,000 on PyPI

azure-monitor-query

Executes read-only queries against Azure…

permissive · top 5,000 on PyPI

azure-mgmt-loganalytics

Provides a Python client library for managing…

permissive · top 5,000 on PyPI

azure-monitor-ingestion

Sends custom logs and structured data to Azure…

permissive · top 5,000 on PyPI

azure-mgmt-streamanalytics

Provides Python client library for managing…

permissive · top 15,000 on PyPI

azure-mgmt-scheduler

Provides Python bindings to manage Azure…

permissive · top 5,000 on PyPI

azure-synapse-spark

Client library for interacting with Apache…

permissive · top 5,000 on PyPI

azure-mgmt-monitor

Provides programmatic access to Azure Monitor…

permissive · top 5,000 on PyPI

azure-cognitiveservices-knowledge-qnamaker

Provides a Python client library for…

permissive · top 15,000 on PyPI

gooddata-sdk

Provides a Python API to interact with GoodData…

permissive · top 15,000 on PyPI