你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

受支持的 Azure Monitor 资源日志类别

Azure Monitor 资源日志是 Azure 服务发出的日志,用于描述这些服务或资源的操作。 通过 Azure Monitor 提供的所有资源日志都共享一个常见的顶级架构。 每个服务都可灵活选择为其自己的事件发出唯一属性。

资源日志以前称为诊断日志。 此名称在 2019 年 10 月发生了更改,因为 Azure Monitor 收集的日志类型已转变,不仅仅包括 Azure 资源。

资源类型(为 resourceId 属性时可用)和类别的组合唯一标识架构。 所有资源日志都有一个通用架构,其中包含特定于服务的字段,这些字段随后会针对不同的日志类别进行添加。 有关详细信息,请参阅 Azure 资源日志的通用架构和特定于服务的架构

成本

Azure Monitor Log AnalyticsAzure 存储Azure 事件中心以及直接与 Azure Monitor 集成的合作伙伴(例如 Datadog)存在与数据引入和数据存储相关的成本。 请查看上一句中链接的定价页,了解这些服务的成本。 资源日志只是可发送到这些位置的其中一种数据。

此外,将某些类别的资源日志导出到这些位置可能会产生成本。 下一章节列出了可能会产生导出成本的日志。 选择以下链接,查看哪些日志类别会有相关的导出成本。 有关导出定价的详细信息,请参阅 Azure Monitor 定价页的“平台日志”部分。

支持的指标和日志类别(按资源类型)

下表列出了每种资源类型适用的指标和日志类别。

资源提供程序 指标 日志类别
Microsoft.AAD DomainServices
DomainServices
Microsoft.AgFoodPlatform 空值 farmBeats
Microsoft.AnalysisServices servers
servers
Microsoft.ApiManagement service
service
service/workspaces
Microsoft.App containerapps
jobs
managedEnvironments
managedEnvironments
Microsoft.AppConfiguration configurationStores
configurationStores
Microsoft.AppPlatform spring
spring
Microsoft.Attestation 空值 attestationProviders
Microsoft.Automation automationAccounts
automationAccounts
Microsoft。
AutonomousDevelopmentPlatform
空值 accounts
workspaces
microsoft.avs privateClouds
privateClouds
Microsoft.AzureDataTransfer 空值 connections/flows
microsoft.
azureplaywrightservice
空值 accounts
microsoft.azuresphere catalogs
catalogs
Microsoft.Batch batchaccounts
batchaccounts
microsoft.botservice botservices
botservices
Microsoft.Cache redis
redisEnterprise
redis
redisEnterprise/databases
Microsoft.Cdn cdnwebapplicationfirewallpolicies
配置文件
cdnwebapplicationfirewallpolicies
配置文件
profiles/endpoints
Microsoft.Chaos 空值 experiments
Microsoft.ClassicNetwork 空值 networksecuritygroups
Microsoft.CodeSigning codesigningaccounts
codesigningaccounts
Microsoft.CognitiveServices accounts
accounts
Microsoft.Communication CommunicationServices
CommunicationServices
microsoft.community 空值 communityTrainings
Microsoft.Compute cloudservices
cloudServices/roles
virtualMachines
virtualmachineScaleSets
virtualMachineScaleSets/virtualMachines
virtualMachines
Microsoft.ConfidentialLedger 空值 ManagedCCF
ManagedCCFs
Microsoft.ConnectedCache CacheNodes
enterpriseMccCustomers
ispCustomers
CacheNodes
enterpriseMccCustomers
ispCustomers
Microsoft.ConnectedVehicle platformAccounts
platformAccounts
Microsoft.ContainerInstance containerGroups
containerScaleSets
containerGroups
Microsoft.ContainerRegistry registries
registries
Microsoft.ContainerService managedClusters
fleets
managedClusters
Microsoft.CustomProviders resourceproviders
resourceproviders
Microsoft.D365CustomerInsights 空值 instances
Microsoft.Dashboard grafana
grafana
Microsoft.Databricks 空值 workspaces
Microsoft.DataFactory datafactories
factories
factories
Microsoft.DataLakeAnalytics accounts
accounts
Microsoft.DataLakeStore accounts
accounts
Microsoft.DataProtection BackupVaults
BackupVaults
Microsoft.DataShare accounts
accounts
Microsoft.DBforMariaDB servers
servers
Microsoft.DBforMySQL flexibleServers
servers
flexibleServers
servers
Microsoft.DBforPostgreSQL flexibleServers
servers
serversv2
flexibleServers
servers
serversv2
Microsoft.DBForPostgreSQL serverGroupsv2
serverGroupsv2
Microsoft。
DesktopVirtualization
空值 appAttachPackages
applicationgroups
hostpools
scalingplans
workspaces
Microsoft.DevCenter devcenters
devcenters
Microsoft.Devices IotHubs
provisioningServices
IotHubs
provisioningServices
Microsoft.DevOpsInfrastructure pools
pools
Microsoft.DigitalTwins digitalTwinsInstances
digitalTwinsInstances
Microsoft.DocumentDB cassandraClusters
DatabaseAccounts
mongoClusters
cassandraClusters
DatabaseAccounts
mongoClusters
Microsoft.EventGrid domains
eventSubscriptions
extensionTopics
namespaces
partnerNamespaces
partnerTopics
systemTopics
topics
domains
namespaces
partnerNamespaces
partnerTopics
systemTopics
topics
Microsoft.EventHub clusters
命名空间
命名空间
Microsoft。
HardwareSecurityModules
空值 cloudHsmClusters
Microsoft.HealthcareApis services
workspaces/dicomservices
workspaces/fhirservices
workspaces/iotconnectors
services
workspaces/dicomservices
workspaces/fhirservices
workspaces/iotconnectors
Microsoft.HealthDataAIServices 空值 deidServices
microsoft.insights autoscalesettings
components
autoscalesettings
components
Microsoft.Insights datacollectionrules
datacollectionrules
microsoft.keyvault managedhsms
managedhsms
Microsoft.KeyVault vaults
vaults
microsoft.kubernetes connectedClusters
connectedClusters
Microsoft.Kusto clusters
clusters
microsoft.loadtestservice 空值 loadtests
Microsoft.Logic IntegrationServiceEnvironments
工作流
IntegrationAccounts
工作流
Microsoft。
MachineLearningServices
workspaces
workspaces/onlineEndpoints
workspaces/onlineEndpoints/deployments
registries
workspaces
workspaces/onlineEndpoints
Microsoft.ManagedNetworkFabric internetGateways
l3IsolationDomains
networkDevices
networkDevices
Microsoft.Media mediaservices
mediaservices/liveEvents
mediaservices/streamingEndpoints
videoanalyzers
mediaservices
mediaservices/liveEvents
mediaservices/streamingEndpoints
videoanalyzers
Microsoft.Monitor accounts
accounts
Microsoft.NetApp netAppAccounts/capacityPools
netAppAccounts/capacityPools/volumes
netAppAccounts/capacityPools
netAppAccounts/capacityPools/volumes
Microsoft.Network applicationgateways
azureFirewalls
连接
dnsForwardingRulesets
dnsResolverDomainLists
dnsResolverPolicies
dnsResolvers
dnszones
expressRouteCircuits
expressRouteCircuits/peerings
expressRoutePorts
frontdoors
loadBalancers
natgateways
networkinterfaces
networkManagers/ipamPools
networkWatchers/connectionMonitors
privateDnsZones
privateEndpoints
privateLinkServices
publicIPAddresses
publicIPPrefixes
trafficManagerProfiles
virtualHubs
virtualNetworks
virtualRouters
applicationgateways
azureFirewalls
dnsResolverPolicies
expressRouteCircuits
frontdoors
loadBalancers
networkManagers
networkManagers/ipamPools
networksecuritygroups
networkSecurityPerimeters
networkSecurityPerimeters/profiles
publicIPAddresses
publicIPPrefixes
trafficManagerProfiles
virtualNetworks
microsoft.network bastionHosts
expressroutegateways
p2svpngateways
virtualnetworkgateways
vpngateways
bastionHosts
p2svpngateways
virtualnetworkgateways
vpngateways
Microsoft.NetworkAnalytics 空值 DataProducts
Microsoft.NetworkCloud bareMetalMachines
clusterManagers
clusters
storageAppliances
bareMetalMachines
clusterManagers
clusters
kubernetesClusters
storageAppliances
Microsoft.NetworkFunction azureTrafficCollectors
azureTrafficCollectors
Microsoft.NotificationHubs namespaces/notificationHubs
namespaces
namespaces/notificationHubs
MICROSOFT.OPENENERGYPLATFORM 空值 ENERGYSERVICES
Microsoft。
OpenLogisticsPlatform
空值 工作区
Microsoft.OperationalInsights workspaces
workspaces
Microsoft.PlayFab titles
titles
Microsoft.PowerBI 空值 tenants
tenants/workspaces
Microsoft.PowerBIDedicated capacities
capacities
Microsoft.ProviderHub 空值 providerMonitorSettings
microsoft.purview accounts
accounts
Microsoft.RecoveryServices 保管库
保管库
Microsoft.Relay namespaces
namespaces
Microsoft.Search searchServices
searchServices
Microsoft.Security 空值 antiMalwareSettings
defenderForStorageSettings
microsoft.securityinsights 空值 设置
Microsoft.ServiceBus 命名空间
命名空间
Microsoft.ServiceNetworking trafficControllers
trafficControllers
Microsoft.SignalRService SignalR
SignalR/replicas
WebPubSub
WebPubSub/replicas
SignalR
SignalR/replicas
WebPubSub
WebPubSub/replicas
microsoft.singularity accounts
accounts
Microsoft.Sql managedInstances
servers/databases
servers/elasticpools
servers/jobAgents
managedInstances
managedInstances/databases
servers/databases
Microsoft.Storage storageAccounts
storageAccounts/blobServices
storageAccounts/fileServices
storageAccounts/objectReplicationPolicies
storageAccounts/queueServices
storageAccounts/storageTasks
storageAccounts/tableServices
storageTasks
storageAccounts/blobServices
storageAccounts/fileServices
storageAccounts/queueServices
storageAccounts/tableServices
Microsoft.StorageCache amlFilesystems
caches
amlFilesystems
caches
Microsoft.StorageMover storageMovers
storageMovers
Microsoft.StreamAnalytics streamingjobs
streamingjobs
Microsoft.Synapse workspaces
workspaces/bigDataPools
workspaces/kustoPools
workspaces/scopePools
workspaces/sqlPools
workspaces
workspaces/bigDataPools
workspaces/kustoPools
workspaces/scopePools
workspaces/sqlPools
Microsoft。
ToolchainOrchestrator
空值 diagnostics
microsoft.videoindexer 空值 accounts
Microsoft.Web containerapps
hostingEnvironments
hostingenvironments/multirolepools
hostingenvironments/workerpools
serverfarms
sites
sites/slots
staticsites
hostingEnvironments
sites
sites/slots
staticsites
microsoft.workloads 空值 sapvirtualinstances
NGINX.NGINXPLUS NGINX.NGINXPLUS/nginxDeployments
NGINX.NGINXPLUS/nginxDeployments
Microsoft.azurestackhci clusters
空值
microsoft.bing accounts
空值
Microsoft.BotService botServices/channels
botServices/connections
checknameavailability
hostsettings
listauthserviceproviders
listqnamakerendpointkeys
空值
Microsoft.ClassicCompute domainNames/slots/roles
virtualMachines
空值
Microsoft.ClassicStorage storageAccounts
storageAccounts/blobServices
storageAccounts/fileServices
storageAccounts/queueServices
storageAccounts/tableServices
空值
Microsoft.ClusterStor 节点
空值
microsoft.compute disks
空值
Microsoft.DataBoxEdge dataBoxEdgeDevices
空值
microsoft.edgezones edgezones
空值
Microsoft.ElasticSan elasticSans
空值
Microsoft.HDInsight clusters
空值
Microsoft.HealthModel healthmodels
空值
Microsoft。
HybridContainerService
provisionedClusters
空值
microsoft.hybridnetwork networkfunctions
virtualnetworkfunctions
空值
Microsoft.IoTCentral IoTApps
空值
microsoft.
kubernetesconfiguration
extensions
空值
Microsoft.Maps accounts
空值
Microsoft.MessagingConnectors connectors
空值
Microsoft.MixedReality remoteRenderingAccounts
spatialAnchorsAccounts
空值
Microsoft.MobileNetwork mobilenetworks/sites
packetcorecontrolplanes
packetcorecontrolplanes/packetcoredataplanes
radioAccessNetworks
空值
Microsoft.Orbital contactProfiles
l2Connections
spacecrafts
terminals
空值
Microsoft.Peering peerings
peeringServices
空值
microsoft.resources subscriptions
空值
microsoft.securitydetonation chambers
空值
Microsoft.SecurityDetonation SecurityDetonationChambers
空值
Microsoft.StorageActions storageTasks
空值
Microsoft.StorageSync storageSyncServices
空值
Microsoft.StorageTasks storageTasks
空值
Microsoft.VoiceServices CommunicationsGateways
空值
Oracle.Database Oracle.Database/autonomousDatabases
Oracle.Database/cloudVmClusters
空值
Private.MessagingConnectors Private.MessagingConnectors/connectors
空值
Wandisco.Fusion Wandisco.Fusion/migrators
Wandisco.Fusion/migrators/dataTransferAgents
Wandisco.Fusion/migrators/liveDataMigrations
Wandisco.Fusion/migrators/metadataMigrations
空值

后续步骤