Section 3 · Cloud logs

Collect Azure logs using Grafana Alloy for flexibility.

Estimated time: 1 min

How it works

Azure logs Alloy architecture: Azure Monitor to Event Hub with Kafka endpoint, Alloy pulls logs and pushes to Grafana Cloud Logs

Complexity: Flexible | Infrastructure: VM, ACI, or AKS | Latency: Configurable

Azure Monitor streams log data to an Event Hubs namespace with a Kafka endpoint. Alloy pulls the logs using the Kafka protocol and forwards them to Grafana Cloud Logs. Its pipeline can parse, filter, relabel, and enrich logs first. If you already deployed Alloy for metrics, the same deployment can collect logs.

Considerations

  • Event Hub ingestion over the Kafka protocol
  • Full processing pipeline for parsing, filtering, and enrichment
  • Managed identity authentication
  • One deployment for both metrics and logs
  • Alloy infrastructure to deploy, maintain, and update
  • Event Hub setup required

When to use

  • Complex processing needs
  • Event Hub log sources
  • Combined metrics + logs collection

Documentation

View the Azure Alloy logs documentation.