Unofficial Python client for the Azure Log Analytics Data Collector API (HTTP Data Collector API). Version 0.4.0 adds configurable endpoint. Infrequently updated; use for custom log ingestion where the official Azure Monitor SDK is not required.
pip install azure-log-analytics-data-collector-api==0.4.0Verified import paths — ran on the pinned version, not inferred.
Creates client and sends custom log data. Remember to configure retention and custom log fields in Azure Portal.
Use log_type='MyLog' (not 'MyLog_CL'). The client does NOT add the suffix automatically; Azure adds it server-side.
Always use the default endpoint for public Azure ('https://<workspace-id>.ods.opinsights.azure.com') or explicitly verify your custom endpoint.Consider migrating to `azure-monitor-ingestion` (package: azure-monitor-ingestion) which is actively maintained.