Azure Monitor Log Ingestion (Python)

•
1
•

Sends custom telemetry and logs to Azure Monitor Log Analytics workspaces using the Python Logs Ingestion SDK.

This skill provides a comprehensive implementation guide for developers using the Azure Monitor Ingestion SDK for Python, enabling seamless transmission of custom logs to Azure Log Analytics via the Logs Ingestion API. It streamlines the setup of Data Collection Endpoints (DCE) and Rules (DCR), automates complex tasks like gzip compression and parallel batching, and provides robust patterns for both synchronous and asynchronous operations. Whether you are building cloud-native microservices or migrating legacy logs, this skill ensures your telemetry follows Azure best practices for security and performance.

主な機能

01Support for synchronous and asynchronous clients
02Secure authentication via Azure Identity (DefaultAzureCredential)
031 GitHub stars
04Sovereign cloud support including Azure Government
05Automated log batching and gzip compression
06Advanced error handling with partial failure callbacks

ユースケース

01Streaming real-time application logs from Python microservices to Log Analytics
02Implementing resilient logging pipelines with custom retry logic for ingestion errors
03Bulk uploading historical telemetry data from JSON files for centralized analysis