azure-loganalytics
Microsoft Azure Log Analytics Client Library for Python
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-loganalyticsuv
uv add azure-loganalyticspoetry
poetry add azure-loganalyticsInstalling 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
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
azure-applicationinsightsProvides a Python client library for querying…
permissive · top 5,000 on PyPI
azure-monitor-queryExecutes read-only queries against Azure…
permissive · top 5,000 on PyPI
azure-mgmt-loganalyticsProvides a Python client library for managing…
permissive · top 5,000 on PyPI
azure-monitor-ingestionSends custom logs and structured data to Azure…
permissive · top 5,000 on PyPI
azure-mgmt-streamanalyticsProvides Python client library for managing…
permissive · top 15,000 on PyPI
azure-mgmt-schedulerProvides Python bindings to manage Azure…
permissive · top 5,000 on PyPI
azure-synapse-sparkClient library for interacting with Apache…
permissive · top 5,000 on PyPI
azure-mgmt-monitorProvides programmatic access to Azure Monitor…
permissive · top 5,000 on PyPI
azure-cognitiveservices-knowledge-qnamakerProvides a Python client library for…
permissive · top 15,000 on PyPI
gooddata-sdkProvides a Python API to interact with GoodData…
permissive · top 15,000 on PyPI