{
    "api_version": "1",
    "kind": "dse_post",
    "self": "https://update.dsesecurity.com/api/v1/posts/azure-monitor-dcr-versioned-routing-code/",
    "item": {
        "id": "https://update.dsesecurity.com/updates/azure-monitor-dcr-versioned-routing-code/",
        "slug": "azure-monitor-dcr-versioned-routing-code",
        "url": "https://update.dsesecurity.com/updates/azure-monitor-dcr-versioned-routing-code/",
        "alternate_urls": {
            "markdown": "https://update.dsesecurity.com/updates/azure-monitor-dcr-versioned-routing-code.md",
            "json": "https://update.dsesecurity.com/api/v1/posts/azure-monitor-dcr-versioned-routing-code/"
        },
        "title": "Version Azure Monitor data collection rules like production routing code",
        "summary": "Azure Monitor data collection rules define sources, schemas, transformations, and destinations, while associations decide which resources use them; either can change the telemetry available to operations and security.",
        "format": {
            "slug": "guide",
            "name": "Guide"
        },
        "priority": {
            "slug": "important",
            "name": "Important"
        },
        "featured": false,
        "image": {
            "theme": "continuity-recovery",
            "label": "Continuity & recovery",
            "alt": "Paired infrastructure paths converging on a stable recovered service.",
            "card_url": "https://update.dsesecurity.com/assets/editorial/continuity-recovery-card.webp?v=1.8.20",
            "hero_url": "https://update.dsesecurity.com/assets/editorial/continuity-recovery-hero.webp?v=1.8.20",
            "social_url": "https://update.dsesecurity.com/assets/editorial/continuity-recovery-social-v2.jpg?v=1.8.20",
            "width": 2400,
            "height": 1350
        },
        "topics": [
            {
                "slug": "business-continuity",
                "name": "Business Continuity",
                "url": "https://update.dsesecurity.com/topic/business-continuity/"
            },
            {
                "slug": "cybersecurity",
                "name": "Cybersecurity",
                "url": "https://update.dsesecurity.com/topic/cybersecurity/"
            },
            {
                "slug": "it",
                "name": "IT",
                "url": "https://update.dsesecurity.com/topic/it/"
            }
        ],
        "author": {
            "name": "DSE Security Editorial Team",
            "url": "https://update.dsesecurity.com/#editorial-team",
            "type": "Organization"
        },
        "publisher": {
            "name": "Detection Systems & Engineering",
            "url": "https://dsesecurity.com/"
        },
        "published_at": "2026-08-25T21:34:54+00:00",
        "modified_at": "2026-08-25T21:43:56+00:00",
        "reviewed_on": "2026-08-25",
        "reading_minutes": 3,
        "word_count": 466,
        "potentially_affected": "Azure and hybrid environments using Azure Monitor Agent, data collection rule associations, direct ingestion, Event Hubs, or workspace transformations.",
        "dse_recommendation": "Assign owners, manage DCRs and associations as code, test schema and transformation changes with canary data, and reconcile expected resources, destinations, volume, and latency.",
        "primary_source": {
            "name": "Data collection rules (DCRs) in Azure Monitor",
            "url": "https://learn.microsoft.com/en-us/azure/azure-monitor/data-collection/data-collection-rule-overview",
            "published_on": null,
            "authority": "Microsoft Learn"
        },
        "publishing_principles": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
        "usage_info": "https://update.dsesecurity.com/usage/",
        "copyright_notice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
        "content_html": "<p><strong>Bottom line:</strong> Azure Monitor data collection rules (DCRs) define what data is collected, its incoming schema, transformations, and destinations. Data collection rule associations connect supported resources to those rules. A one-line transformation or association change can suppress, reshape, duplicate, or reroute operational and security telemetry. Govern DCRs as production routing code.</p>\n<h2>Source fact: what Microsoft documents</h2>\n<p>Microsoft&#8217;s <a href=\"https://learn.microsoft.com/en-us/azure/azure-monitor/data-collection/data-collection-rule-overview\" target=\"_blank\" rel=\"noopener noreferrer\">DCR overview</a> describes DCRs as part of an extract, transform, and load-like collection process. Depending on the scenario, a rule identifies data sources, the incoming schema, transformations, and destinations.</p>\n<p>For Azure Monitor Agent and several other documented scenarios, a data collection rule association (DCRA) links a resource to a DCR. Microsoft states that the relationship can be many-to-many: a rule can be associated with multiple resources, and a resource can have multiple associations within service limits. Other scenarios specify a DCR in an ingestion call or apply a workspace transformation rule. DCRs are Azure resources with regional behavior, infrastructure-as-code support, and service limits. Some portal experiences create and manage them on the administrator&#8217;s behalf.</p>\n<h2>What the source does not establish</h2>\n<p>An installed Azure Monitor Agent does not prove the desired rule is associated, the source is readable, the transformation preserves needed fields, or the destination receives data on time. A DCR does not create source events that the OS or application never emits. Filtering may reduce cost and noise while also deleting forensic context before storage. Multiple rules can produce intentional or accidental duplication and cost.</p>\n<h2>Applicability questions</h2>\n<ul>\n<li>Which operational, security, audit, and compliance questions require each source and field?</li>\n<li>Which resources should have which DCRAs, and are overlapping rules intentional?</li>\n<li>What transformations filter, parse, redact, or route data, and what happens to unmatched records?</li>\n<li>Which region, destination, data collection endpoint, network path, and service limits apply?</li>\n<li>Who owns schema changes in the source and queries, alerts, workbooks, or detections downstream?</li>\n</ul>\n<h2>DSE recommendation: controlled next steps</h2>\n<p><em>The following steps are DSE recommendations based on the cited source.</em></p>\n<ol>\n<li>Assign a service owner and data owner to every DCR, DCRA pattern, transformation, and destination.</li>\n<li>Store rule definitions and association logic in version control with review, test, deployment, and rollback.</li>\n<li>Send canary records through a nonproduction or narrow scope and verify source, schema, transformation, destination, latency, and downstream query behavior.</li>\n<li>Reconcile expected resources with actual DCRAs and agent health. Detect orphaned, stale, overlapping, and manually created rules.</li>\n<li>Measure volume, ingestion failures, transformation drops, latency, and cost after each change.</li>\n</ol>\n<h2>Verification and evidence</h2>\n<ul>\n<li>Preserve DCR and DCRA definitions, versions, regions, destinations, transformations, owners, and approvals.</li>\n<li>Record canary input and resulting stored output without exposing sensitive production data.</li>\n<li>Demonstrate downstream alerts, queries, and workbooks still function with the new schema and fields.</li>\n<li>Compare expected and actual resource associations and investigate telemetry gaps or duplication.</li>\n</ul>\n<h2>Official references</h2>\n<ul>\n<li><a href=\"https://learn.microsoft.com/en-us/azure/azure-monitor/data-collection/data-collection-rule-overview\" target=\"_blank\" rel=\"noopener noreferrer\">Data collection rules (DCRs) in Azure Monitor</a> — Microsoft</li>\n</ul>",
        "content_text": "Bottom line: Azure Monitor data collection rules (DCRs) define what data is collected, its incoming schema, transformations, and destinations. Data collection rule associations connect supported resources to those rules. A one-line transformation or association change can suppress, reshape, duplicate, or reroute operational and security telemetry. Govern DCRs as production routing code.\nSource fact: what Microsoft documents\nMicrosoft’s DCR overview describes DCRs as part of an extract, transform, and load-like collection process. Depending on the scenario, a rule identifies data sources, the incoming schema, transformations, and destinations.\nFor Azure Monitor Agent and several other documented scenarios, a data collection rule association (DCRA) links a resource to a DCR. Microsoft states that the relationship can be many-to-many: a rule can be associated with multiple resources, and a resource can have multiple associations within service limits. Other scenarios specify a DCR in an ingestion call or apply a workspace transformation rule. DCRs are Azure resources with regional behavior, infrastructure-as-code support, and service limits. Some portal experiences create and manage them on the administrator’s behalf.\nWhat the source does not establish\nAn installed Azure Monitor Agent does not prove the desired rule is associated, the source is readable, the transformation preserves needed fields, or the destination receives data on time. A DCR does not create source events that the OS or application never emits. Filtering may reduce cost and noise while also deleting forensic context before storage. Multiple rules can produce intentional or accidental duplication and cost.\nApplicability questions\n\nWhich operational, security, audit, and compliance questions require each source and field?\nWhich resources should have which DCRAs, and are overlapping rules intentional?\nWhat transformations filter, parse, redact, or route data, and what happens to unmatched records?\nWhich region, destination, data collection endpoint, network path, and service limits apply?\nWho owns schema changes in the source and queries, alerts, workbooks, or detections downstream?\n\nDSE recommendation: controlled next steps\nThe following steps are DSE recommendations based on the cited source.\n\nAssign a service owner and data owner to every DCR, DCRA pattern, transformation, and destination.\nStore rule definitions and association logic in version control with review, test, deployment, and rollback.\nSend canary records through a nonproduction or narrow scope and verify source, schema, transformation, destination, latency, and downstream query behavior.\nReconcile expected resources with actual DCRAs and agent health. Detect orphaned, stale, overlapping, and manually created rules.\nMeasure volume, ingestion failures, transformation drops, latency, and cost after each change.\n\nVerification and evidence\n\nPreserve DCR and DCRA definitions, versions, regions, destinations, transformations, owners, and approvals.\nRecord canary input and resulting stored output without exposing sensitive production data.\nDemonstrate downstream alerts, queries, and workbooks still function with the new schema and fields.\nCompare expected and actual resource associations and investigate telemetry gaps or duplication.\n\nOfficial references\n\nData collection rules (DCRs) in Azure Monitor — Microsoft",
        "content_markdown": "Bottom line: Azure Monitor data collection rules (DCRs) define what data is collected, its incoming schema, transformations, and destinations. Data collection rule associations connect supported resources to those rules. A one-line transformation or association change can suppress, reshape, duplicate, or reroute operational and security telemetry. Govern DCRs as production routing code.\n\n## Source fact: what Microsoft documents\n\nMicrosoft’s [DCR overview](https://learn.microsoft.com/en-us/azure/azure-monitor/data-collection/data-collection-rule-overview) describes DCRs as part of an extract, transform, and load-like collection process. Depending on the scenario, a rule identifies data sources, the incoming schema, transformations, and destinations.\n\nFor Azure Monitor Agent and several other documented scenarios, a data collection rule association (DCRA) links a resource to a DCR. Microsoft states that the relationship can be many-to-many: a rule can be associated with multiple resources, and a resource can have multiple associations within service limits. Other scenarios specify a DCR in an ingestion call or apply a workspace transformation rule. DCRs are Azure resources with regional behavior, infrastructure-as-code support, and service limits. Some portal experiences create and manage them on the administrator’s behalf.\n\n## What the source does not establish\n\nAn installed Azure Monitor Agent does not prove the desired rule is associated, the source is readable, the transformation preserves needed fields, or the destination receives data on time. A DCR does not create source events that the OS or application never emits. Filtering may reduce cost and noise while also deleting forensic context before storage. Multiple rules can produce intentional or accidental duplication and cost.\n\n## Applicability questions\n\n- Which operational, security, audit, and compliance questions require each source and field?\n\n- Which resources should have which DCRAs, and are overlapping rules intentional?\n\n- What transformations filter, parse, redact, or route data, and what happens to unmatched records?\n\n- Which region, destination, data collection endpoint, network path, and service limits apply?\n\n- Who owns schema changes in the source and queries, alerts, workbooks, or detections downstream?\n\n## DSE recommendation: controlled next steps\n\nThe following steps are DSE recommendations based on the cited source.\n\n- Assign a service owner and data owner to every DCR, DCRA pattern, transformation, and destination.\n\n- Store rule definitions and association logic in version control with review, test, deployment, and rollback.\n\n- Send canary records through a nonproduction or narrow scope and verify source, schema, transformation, destination, latency, and downstream query behavior.\n\n- Reconcile expected resources with actual DCRAs and agent health. Detect orphaned, stale, overlapping, and manually created rules.\n\n- Measure volume, ingestion failures, transformation drops, latency, and cost after each change.\n\n## Verification and evidence\n\n- Preserve DCR and DCRA definitions, versions, regions, destinations, transformations, owners, and approvals.\n\n- Record canary input and resulting stored output without exposing sensitive production data.\n\n- Demonstrate downstream alerts, queries, and workbooks still function with the new schema and fields.\n\n- Compare expected and actual resource associations and investigate telemetry gaps or duplication.\n\n## Official references\n\n- [Data collection rules (DCRs) in Azure Monitor](https://learn.microsoft.com/en-us/azure/azure-monitor/data-collection/data-collection-rule-overview) — Microsoft"
    },
    "json_ld": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://dsesecurity.com/#organization",
                "name": "Detection Systems & Engineering",
                "alternateName": "DSE Security",
                "url": "https://dsesecurity.com/",
                "logo": {
                    "@type": "ImageObject",
                    "url": "https://update.dsesecurity.com/assets/dse-logo-20260812.png?v=1.8.20"
                }
            },
            {
                "@type": "Organization",
                "@id": "https://update.dsesecurity.com/#editorial-team",
                "name": "DSE Security Editorial Team",
                "url": "https://update.dsesecurity.com/",
                "parentOrganization": {
                    "@id": "https://dsesecurity.com/#organization"
                }
            },
            {
                "@type": "WebSite",
                "@id": "https://update.dsesecurity.com/#website",
                "name": "DSE Updates",
                "alternateName": "DSE Security Knowledge Hub",
                "url": "https://update.dsesecurity.com/",
                "inLanguage": "en-US",
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "potentialAction": {
                    "@type": "SearchAction",
                    "target": {
                        "@type": "EntryPoint",
                        "urlTemplate": "https://update.dsesecurity.com/?q={search_term_string}"
                    },
                    "query-input": "required name=search_term_string"
                }
            },
            {
                "@type": "WebPage",
                "@id": "https://update.dsesecurity.com/updates/azure-monitor-dcr-versioned-routing-code/",
                "url": "https://update.dsesecurity.com/updates/azure-monitor-dcr-versioned-routing-code/",
                "isPartOf": {
                    "@id": "https://update.dsesecurity.com/#website"
                },
                "lastReviewed": "2026-08-25"
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://update.dsesecurity.com/updates/azure-monitor-dcr-versioned-routing-code/#breadcrumbs",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "DSE Updates",
                        "item": "https://update.dsesecurity.com/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Version Azure Monitor data collection rules like production routing code",
                        "item": "https://update.dsesecurity.com/updates/azure-monitor-dcr-versioned-routing-code/"
                    }
                ]
            },
            {
                "@type": [
                    "Article",
                    "TechArticle"
                ],
                "@id": "https://update.dsesecurity.com/updates/azure-monitor-dcr-versioned-routing-code/#article",
                "identifier": "https://update.dsesecurity.com/updates/azure-monitor-dcr-versioned-routing-code/",
                "url": "https://update.dsesecurity.com/updates/azure-monitor-dcr-versioned-routing-code/",
                "headline": "Version Azure Monitor data collection rules like production routing code",
                "description": "Azure Monitor data collection rules define sources, schemas, transformations, and destinations, while associations decide which resources use them…",
                "abstract": "Azure Monitor data collection rules define sources, schemas, transformations, and destinations, while associations decide which resources use them; either can change the telemetry available to operations and security.",
                "articleBody": "Bottom line: Azure Monitor data collection rules (DCRs) define what data is collected, its incoming schema, transformations, and destinations. Data collection rule associations connect supported resources to those rules. A one-line transformation or association change can suppress, reshape, duplicate, or reroute operational and security telemetry. Govern DCRs as production routing code.\nSource fact: what Microsoft documents\nMicrosoft’s DCR overview describes DCRs as part of an extract, transform, and load-like collection process. Depending on the scenario, a rule identifies data sources, the incoming schema, transformations, and destinations.\nFor Azure Monitor Agent and several other documented scenarios, a data collection rule association (DCRA) links a resource to a DCR. Microsoft states that the relationship can be many-to-many: a rule can be associated with multiple resources, and a resource can have multiple associations within service limits. Other scenarios specify a DCR in an ingestion call or apply a workspace transformation rule. DCRs are Azure resources with regional behavior, infrastructure-as-code support, and service limits. Some portal experiences create and manage them on the administrator’s behalf.\nWhat the source does not establish\nAn installed Azure Monitor Agent does not prove the desired rule is associated, the source is readable, the transformation preserves needed fields, or the destination receives data on time. A DCR does not create source events that the OS or application never emits. Filtering may reduce cost and noise while also deleting forensic context before storage. Multiple rules can produce intentional or accidental duplication and cost.\nApplicability questions\n\nWhich operational, security, audit, and compliance questions require each source and field?\nWhich resources should have which DCRAs, and are overlapping rules intentional?\nWhat transformations filter, parse, redact, or route data, and what happens to unmatched records?\nWhich region, destination, data collection endpoint, network path, and service limits apply?\nWho owns schema changes in the source and queries, alerts, workbooks, or detections downstream?\n\nDSE recommendation: controlled next steps\nThe following steps are DSE recommendations based on the cited source.\n\nAssign a service owner and data owner to every DCR, DCRA pattern, transformation, and destination.\nStore rule definitions and association logic in version control with review, test, deployment, and rollback.\nSend canary records through a nonproduction or narrow scope and verify source, schema, transformation, destination, latency, and downstream query behavior.\nReconcile expected resources with actual DCRAs and agent health. Detect orphaned, stale, overlapping, and manually created rules.\nMeasure volume, ingestion failures, transformation drops, latency, and cost after each change.\n\nVerification and evidence\n\nPreserve DCR and DCRA definitions, versions, regions, destinations, transformations, owners, and approvals.\nRecord canary input and resulting stored output without exposing sensitive production data.\nDemonstrate downstream alerts, queries, and workbooks still function with the new schema and fields.\nCompare expected and actual resource associations and investigate telemetry gaps or duplication.\n\nOfficial references\n\nData collection rules (DCRs) in Azure Monitor — Microsoft",
                "datePublished": "2026-08-25T21:34:54+00:00",
                "dateModified": "2026-08-25T21:43:56+00:00",
                "mainEntityOfPage": {
                    "@id": "https://update.dsesecurity.com/updates/azure-monitor-dcr-versioned-routing-code/"
                },
                "inLanguage": "en-US",
                "isAccessibleForFree": true,
                "author": {
                    "@type": "Organization",
                    "name": "DSE Security Editorial Team",
                    "url": "https://update.dsesecurity.com/#editorial-team"
                },
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "image": {
                    "@type": "ImageObject",
                    "@id": "https://update.dsesecurity.com/updates/azure-monitor-dcr-versioned-routing-code/#primaryimage",
                    "url": "https://update.dsesecurity.com/assets/editorial/continuity-recovery-social-v2.jpg?v=1.8.20",
                    "contentUrl": "https://update.dsesecurity.com/assets/editorial/continuity-recovery-social-v2.jpg?v=1.8.20",
                    "width": 1200,
                    "height": 630,
                    "caption": "Version Azure Monitor data collection rules like production routing code"
                },
                "articleSection": [
                    "Business Continuity",
                    "Cybersecurity",
                    "IT"
                ],
                "keywords": [
                    "Business Continuity",
                    "Cybersecurity",
                    "IT",
                    "Guide",
                    "Important priority"
                ],
                "genre": "Guide",
                "about": [
                    {
                        "@type": "Thing",
                        "name": "Business Continuity",
                        "url": "https://update.dsesecurity.com/topic/business-continuity/"
                    },
                    {
                        "@type": "Thing",
                        "name": "Cybersecurity",
                        "url": "https://update.dsesecurity.com/topic/cybersecurity/"
                    },
                    {
                        "@type": "Thing",
                        "name": "IT",
                        "url": "https://update.dsesecurity.com/topic/it/"
                    }
                ],
                "wordCount": 466,
                "timeRequired": "PT3M",
                "publishingPrinciples": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
                "usageInfo": "https://update.dsesecurity.com/usage/",
                "copyrightHolder": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "copyrightNotice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
                "citation": {
                    "@type": "CreativeWork",
                    "name": "Data collection rules (DCRs) in Azure Monitor",
                    "url": "https://learn.microsoft.com/en-us/azure/azure-monitor/data-collection/data-collection-rule-overview"
                }
            }
        ]
    }
}