Skip to content

Attribution Rules

The Attribution Rules page is where you manage the rules that determine how Databricks costs are assigned to teams in your organization. Rules are evaluated against every billing record — the right set of rules can attribute 90%+ of your spend with high confidence.

For the conceptual background on the attribution model, confidence tiers, and evaluation flow, see Cost Attribution & Confidence Tiers.

The main view shows all configured attribution rules:

ColumnWhat it shows
#Priority — evaluation order (lower number means higher precedence)
TypeExact, Pattern, or Overhead (proportional)
NameDescriptive label (and description, if set)
MatchSummary of match criteria (resource ID, pattern, SKU, tags, domain)
TeamWhich team the rule attributes to, split count, or distribution basis
ActiveToggle to enable or disable the rule

Rules are displayed in priority order. The evaluation engine processes rules from lowest priority number to highest, stopping at the first match.

The list API supports filtering by workspace_id, rule_type, and active_only query parameters.

Click Create Rule and choose the rule type:

Match a specific resource by type and ID. Use these for known high-cost resources where you’re certain of the owner.

FieldWhat to enter
NameDescriptive label
PriorityEvaluation order (1–50 recommended for exact rules)
WorkspaceRequired — exact rules are always workspace-scoped
Resource typeCluster, Warehouse, Job, Pipeline, Endpoint, or App
Resource IDThe Databricks resource identifier
AttributionTeam, department, or org unit assignment (direct or split)

Match resources by criteria. All conditions use AND logic — every specified condition must match. Conditions you leave empty are treated as “match anything.”

FieldWhat to enter
NameDescriptive label
PriorityEvaluation order (50–200 recommended for pattern rules)
WorkspaceOptional — leave empty for a global rule
Resource typeCluster, Warehouse, Job, Pipeline, Endpoint, or App (optional)
Resource patternRegex against resource name or ID (e.g., ^prod-analytics-.*)
Principal domainEmail domain suffix (e.g., @analytics.company.com)
TagsDatabricks custom tags — key-value pairs that must all match
AttributionTeam, department, or org unit assignment (direct or split)

Distribute platform overhead costs across teams based on their compute spend.

FieldWhat to enter
NameDescriptive label
PriorityEvaluation order (200+ recommended)
SKU patternRegex to match SKU names (e.g., (?i)(STORAGE|DBFS), (?i)(NETWORKING|EGRESS))
Usage typeExact match on usage type (optional, combined with SKU pattern)
Distribution basisCompute spend proportion

Proportional rules are evaluated in a separate path from exact and pattern rules — they match against SKU names and usage types rather than resources. They’re designed for platform overhead costs that don’t belong to any single team.

When configuring a rule’s attribution, choose one of these modes:

Assigns 100% of the matched cost to a single team, department, or org unit. You can optionally associate a project. If the project is marked as shared, the resource is treated as shared infrastructure and grouped by its shared bucket label (like shared:platform:analytics) in reports.

Distributes cost across multiple teams by percentage. Percentages must sum to 100%.

TeamPercentage
Data Infrastructure60%
ML Ops40%

You can have up to 20 splits per rule. The UI provides a “Distribute evenly” helper to auto-balance percentages.

Rules can have optional “Valid From” and “Valid To” dates, configured under the Options section of the rule form:

Use caseConfiguration
Temporary overrideSet start and end dates for the override period
MigrationOld rule ends Dec 31, new rule starts Jan 1
Retroactive correctionSet the start date in the past to fix historical attribution

Date bounds are stored as metadata on the rule for organizational purposes.

Use the Simulate tab to test how a specific resource would be attributed without creating billing records:

  1. Enter the resource details: resource type, workspace, resource ID, and optionally the owner email.
  2. Click Run Simulation.
  3. Review the evaluation chain — each active rule is shown in priority order with its match result and reason.

The simulation shows the first matching rule, the team it would attribute to, and the confidence level (exact or pattern). If no rule matches, the result indicates that costs would use fallback attribution.

Rules are evaluated in priority order. Managing priorities effectively is key to accurate attribution.

RangeUse
1–50Critical exact matches for known high-cost resources
50–100Specific pattern rules (narrow regex, specific workspace)
100–200General pattern rules (broad regex, global scope)
200+Catch-all and proportional rules

When multiple rules share the same priority:

  1. Workspace-specific rules take precedence over global rules.

You can reorder priorities by editing the priority number directly or using the reorder API.

  • Edit — Modify any field of an existing rule. Changes take effect on the next attribution cycle.
  • Toggle active — Use the Active toggle in the rules list to deactivate a rule without deleting it. Useful for testing.
  • Delete — Permanently remove a rule via the actions menu. If the rule is referenced by existing cost allocations, you will be prompted to deactivate it instead.

All rule changes are recorded in the Audit Log.

  1. Start with the Tag Governance page to map existing Databricks tags to teams.
  2. Create exact rules for your top 10 most expensive resources.
  3. Create pattern rules for naming conventions (e.g., ^prod-.* for production resources).
  4. Set up proportional rules for platform overhead (networking, storage).
  5. Monitor the Cost Explorer Attribution tab — aim for less than 15% unattributed.
  1. Check the Cost Explorer Attribution tab for the current unattributed percentage.
  2. Drill into unattributed costs to see which resources and categories are unmatched.
  3. Create rules targeting the highest-cost unattributed resources first.
  4. Use simulation to verify rules before activating them.
  5. Repeat until unattributed costs reach an acceptable level.
  1. When teams are restructured, update attribution rules to reflect the new ownership.
  2. Use date bounds to make the transition clean — old rule expires on the reorganization date, new rule starts.
  3. Test the new rules with simulation before the transition date.