Skip to content
Kitbay
SkillOfficialWork in Progress

azure-monitor-ingestion-py

MITUpdated on Nov 10, 20263,193GitHub stars

A Microsoft skill for sending custom logs to a Log Analytics workspace from Python with the azure-monitor-ingestion package.

What the skill teaches

A Microsoft skill for sending custom logs to a Log Analytics workspace from Python with the azure-monitor-ingestion package. It explains the prerequisites of a data collection endpoint, data collection rule and target table, uploading records from code or a JSON file, custom error callbacks or ignoring failures, the async client, sovereign cloud endpoints, how uploads are batched and the stream name format. It needs Entra ID credentials and the endpoint and rule identifiers.

Capabilities

  • Upload custom log records to Log Analytics from Python
  • Upload records from a JSON file
  • Handle or ignore upload errors
  • Target sovereign cloud endpoints