Data collection rule

azureMonitoringazure-monitor-data-collection-rule

Declares what Azure Monitor collects, the KQL transformation applied on ingestion, and the destination workspace, metric store or event hub.

Provider
azure
Category
Operations
Also known as
DCR
Properties · 3 set by this component
propertytypevaluesrequiredkind defaultthis component
alertGroupingboolean—nofalseinherited
collectorModeenumpull | pushnopull▸ push
dataCollectionEndpoint · component propertyboolean—nofalseinherited
destination · component propertyenumlog-analytics | azure-monitor-metrics | azure-data-explorer | event-hubs | storage | microsoft-fabricno—inherited
independentOfMonitoredboolean—nofalseinherited
managedboolean—nofalse▸ true
maxAssociationsPerResource · component propertyinteger—no30inherited
retentionDaysinteger—no—inherited
signalenummetrics | logs | traces | alerts | allnometrics▸ all
transform · component propertyboolean—nofalseinherited
zoneRedundant · component propertyboolean—notrueinherited
Rules that apply · 0

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

No rule reads this kind yet. That is a gap, not a guarantee.
Use it in a design
nodes:
  - { id: "monitor-data-collection-rule", component: "azure-monitor-data-collection-rule" }
Other Monitoring products · 174
ActionTrailalibaba-actiontrailalibabacloudmonitoringApplication Real-Time Monitoring Servicealibaba-armsalibabacloudmonitoringCloudMonitoralibaba-cloud-monitoralibabacloudmonitoringDatabase Autonomy Servicealibaba-dasalibabacloudmonitoringSimple Log Servicealibaba-log-servicealibabacloudmonitoringSecurity Centeralibaba-security-centeralibabacloudmonitoringAmazon CloudWatch investigationsaws-aiopsawsmonitoringAWS Audit Manageraws-audit-managerawsmonitoringAWS CloudTrailaws-cloudtrailawsmonitoringAWS CloudTrail Lakeaws-cloudtrail-lakeawsmonitoringAmazon CloudWatch Application Insightsaws-cloudwatch-application-insightsawsmonitoringAmazon CloudWatch Application Signalsaws-cloudwatch-application-signalsawsmonitoringAmazon CloudWatch Internet Monitoraws-cloudwatch-internet-monitorawsmonitoringAmazon CloudWatch Logsaws-cloudwatch-logsawsmonitoringAmazon CloudWatch Network Flow Monitoraws-cloudwatch-network-flow-monitorawsmonitoringAmazon CloudWatch Network Monitoraws-cloudwatch-network-monitorawsmonitoringAmazon CloudWatch RUMaws-cloudwatch-rumawsmonitoringAmazon CloudWatch Syntheticsaws-cloudwatch-syntheticsawsmonitoringAmazon CodeGuru Profileraws-codeguru-profilerawsmonitoringAWS Compute Optimizeraws-compute-optimizerawsmonitoringAmazon Detectiveaws-detectiveawsmonitoringAmazon DevOps Guruaws-devops-guruawsmonitoringAmazon GuardDutyaws-guarddutyawsmonitoringAmazon Inspectoraws-inspectorawsmonitoringAWS IoT Device Defenderaws-iot-device-defenderawsmonitoringAmazon Macieaws-macieawsmonitoringAmazon Managed Grafanaaws-managed-grafanaawsmonitoringAmazon Managed Service for Prometheusaws-managed-prometheusawsmonitoringAWS Migration Hubaws-migration-hubawsmonitoringAWS Resilience Hubaws-resilience-hubawsmonitoringAWS Security Hub CSPMaws-security-hubawsmonitoringAWS Security Incident Responseaws-security-incident-responseawsmonitoringAWS Trusted Advisoraws-trusted-advisorawsmonitoringAWS X-Rayaws-xrayawsmonitoringAmazon CloudWatchcloudwatchawsmonitoringAzure Advisorazure-advisorazuremonitoringApplication Insightsazure-application-insightsazuremonitoringMicrosoft Defender External Attack Surface Managementazure-defender-easmazuremonitoringMicrosoft Defender for Cloudazure-defender-for-cloudazuremonitoringMicrosoft Defender for IoTazure-defender-for-iotazuremonitoring
and 134 more → Monitoring page
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Data collection rule: the Azure Monitor resource that declares what to collect, the KQL
# transformation to apply on ingestion and where the data goes ("Data Collection Rules in Azure
# Monitor"). That page states a DCR is stored in one region and backed up to its paired region and
# deployed to all three availability zones, "for this reason, it's a zone-redundant service", and that
# up to 30 DCRs can be associated with a single resource. A transformation is optional, so transform
# defaults to false; the destination is chosen per data flow and therefore carries no default. The
# destination list is the set the resource provider exposes under properties.destinations
# ("Microsoft.Insights/dataCollectionRules").
schemaVersion: "1"
type: "component"
id: "azure-monitor-data-collection-rule"
kind: "monitoring"
provider: "azure"
docs: "https://learn.microsoft.com/en-us/azure/azure-monitor/data-collection/data-collection-rule-overview"
aliases: ["DCR"]
defaults:
  managed: true
  signal: "all"
  collectorMode: "push"
properties:
  transform:
    type: "boolean"
    default: false
  destination:
    type: "enum"
    values: ["log-analytics", "azure-monitor-metrics", "azure-data-explorer", "event-hubs", "storage", "microsoft-fabric"]
  dataCollectionEndpoint:
    type: "boolean"
    default: false
  zoneRedundant:
    type: "boolean"
    default: true
  maxAssociationsPerResource:
    type: "integer"
    default: 30

The same page as markdown, for an agent: /catalogue/components/azure-monitor-data-collection-rule.md