Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Azure Monitor collects telemetry from Azure resources, applications, operating systems, Kubernetes clusters, custom clients, and hybrid or multicloud environments. Different sources and signals support different collection methods.
This article guides you through five planning steps:
- Identify the collection paths supported for your source and signal.
- Understand how collection affects cost.
- Choose a topology for your operational needs.
- Decide where to process data.
- Understand storage and connected experiences.
For a source-by-source catalog, see Azure Monitor data sources and data collection methods.
1. Identify supported collection paths
Azure Monitor provides three broad collection families:
- Use direct collection when an instrumented application, SDK, exporter, or API client sends data to an Azure Monitor cloud endpoint. Examples include Application Insights and the Logs ingestion API.
- Use collector-based collection to collect more telemetry or introduce processing, resilience, and operational control before cloud ingestion.
- Azure Monitor agent runs on monitored machines to collect guest operating system and workload data. Enabling Container insights and Azure Monitor managed service for Prometheus on a Kubernetes cluster installs a containerized Azure Monitor agent.
These paths aren't mutually exclusive. For example, you can use platform-native collection for an Azure resource, Application Insights for its application, and Azure Monitor agent for its guest operating system.
2. Understand collection costs
There's no separate Azure Monitor usage charge for Azure Monitor agent. Azure Monitor charges are based on the data uploaded to the cloud and the ingestion, retention, or storage pricing for its destination. Azure Monitor cloud ingestion and storage volume exclude data that Azure Monitor agent filters out before upload.
You remain responsible for costs outside the Azure Monitor collection service. Depending on your topology, these costs can include compute for an Arc-enabled Kubernetes cluster, and network transfer or egress charges.
For pricing and optimization guidance, see Azure Monitor Logs cost calculations and options and Cost optimization in Azure Monitor.
3. Choose a topology for your operational needs
When your source supports multiple paths, choose based on the operational characteristics you need:
- Use Azure Monitor agent for collection and resilience on each monitored machine or Kubernetes cluster.
Explore topology paths
Select a tab to view the complete reference topology or focus on one collection path.
4. Decide where to process data
Data collection rules (DCRs) provide a common Azure control plane for collection, processing, and routing in supported scenarios.
Processing can occur in the application or source, on Azure Monitor agent, and during Azure Monitor cloud ingestion. Choose the stage based on your requirements:
- Process before cloud upload to reduce network traffic, ingestion volume, or exposure of data that shouldn't leave the environment.
- Process at cloud ingestion when the transformation needs the Azure Monitor schema or consistent cloud-side application.
- Retain raw data when you might need it for future analysis, reprocessing, audit, or troubleshooting. Filtering or aggregation before upload permanently removes that detail from the cloud destination.
You can combine processing stages. Cloud transformations complement source, and agent, but they occur after data has already been uploaded.
Note
Multi-stage transformations are in public preview. A single DCR can coordinate client-side processing on Azure Monitor agent and ingestion-time processing in Azure Monitor. Learn more about multi-stage transformations.
5. Understand storage and connected experiences
Depending on the signal and collection method, Azure Monitor stores collected data in either Azure Monitor Logs or Azure Monitor Metrics.
- Microsoft Sentinel provides security analytics over data in a Sentinel-enabled Log Analytics workspace.
- Platform-native export scenarios can also use destinations such as Azure Storage or Event Hubs where supported.
Not every collection method supports every destination. Review the documentation for the selected method before finalizing your architecture.