last sync: 2025-Jun-25 17:22:50 UTC

Deploy Diagnostic Settings for Synapse Spark Pool to Event Hub

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy 7cff9125-ead0-47fc-a128-98d8fa060895 (1.0.0) to Azure
Display name Deploy Diagnostic Settings for Synapse Spark Pool to Event Hub
Id 7cff9125-ead0-47fc-a128-98d8fa060895
Version 1.0.0
Details on versioning
Category Synapse
Microsoft Learn
Description Deploys the diagnostic settings for Synapse Spark Pools to stream to an Event Hub when any Synapse Spark Pools which is missing this diagnostic settings is created or updated. The policy will set the diagnostic with all metrics and category enabled.
Mode Indexed
Type Custom Community
Effect Default
DeployIfNotExists
Allowed
DeployIfNotExists, AuditIfNotExists, Disabled
RBAC role(s)
Role Name Role Id
Log Analytics Contributor 92aaf0da-9dab-42b6-94a3-d43ce8d16293
Azure Event Hubs Data Owner f526a384-b230-433a-b45c-95f59c4a2dec
Rule aliases THEN-ExistenceCondition (6)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Insights/diagnosticSettings/eventHubAuthorizationRuleId microsoft.insights diagnosticSettings properties.eventHubAuthorizationRuleId True False
Microsoft.Insights/diagnosticSettings/eventHubName microsoft.insights diagnosticSettings properties.eventHubName True False
Microsoft.Insights/diagnosticSettings/logs[*] microsoft.insights diagnosticSettings properties.logs[*] True False
microsoft.insights/diagnosticSettings/logs[*].categoryGroup microsoft.insights diagnosticSettings properties.logs[*].categoryGroup True False
Microsoft.Insights/diagnosticSettings/logs[*].enabled microsoft.insights diagnosticSettings properties.logs[*].enabled True False
Microsoft.Insights/diagnosticSettings/metrics.enabled microsoft.insights diagnosticSettings properties.metrics[*].enabled True False
Rule resource types IF (1)
Microsoft.Synapse/workspaces/bigDataPools
JSON
EPAC
Deploy policy 7cff9125-ead0-47fc-a128-98d8fa060895 (1.0.0) to Azure