你当前正在访问 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 服务器
服务器
Microsoft.ApiManagement service
service
service/workspaces
Microsoft.App containerapps
jobs
managedEnvironments
managedEnvironments
Microsoft.AppConfiguration configurationStores
configurationStores
Microsoft.AppPlatform spring
spring
Microsoft.证明 空值 attestationProviders
Microsoft.Automation automationAccounts
automationAccounts
Microsoft。
AutonomousDevelopmentPlatform
空值 帐户
workspaces
microsoft.avs privateClouds
privateClouds
Microsoft.AzureDataTransfer 空值 connections/flow
microsoft.
azureplaywrightservice
空值 帐户
microsoft.azuresphere 目录
目录
Microsoft.Batch batchaccounts
batchaccounts
microsoft.botservice botservices
botservices
Microsoft.Cache redis
redisEnterprise
redis
redisEnterprise/databases
Microsoft.Cdn cdnwebapplicationfirewallpolicies
配置文件
cdnwebapplicationfirewallpolicies
配置文件
profiles/endpoints
Microsoft.Chaos 空值 实验
Microsoft.ClassicNetwork 空值 networksecuritygroups
Microsoft.CodeSigning codesigningaccounts
codesigningaccounts
Microsoft.CognitiveServices 帐户
帐户
Microsoft.Communication CommunicationServices
CommunicationServices
microsoft.community 空值 communityTrainings
Microsoft.Compute cloudservices
cloudServices/roles
virtualMachines
virtualmachineScaleSets
virtualMachineScaleSets/virtualMachines
virtualMachines
Microsoft.ConfidentialLedger 空值 ManagedCCF
ManagedCCF
Microsoft.ConnectedCache CacheNodes
enterpriseMccCustomers
ispCustomers
CacheNodes
enterpriseMccCustomers
ispCustomers
Microsoft.ConnectedVehicle platformAccounts
platformAccounts
Microsoft.ContainerInstance containerGroups
containerScaleSets
containerGroups
Microsoft.ContainerRegistry registries
registries
Microsoft.ContainerService managedClusters
舰队
managedClusters
Microsoft.CustomProviders resourceproviders
resourceproviders
Microsoft.D365CustomerInsights 空值 实例
Microsoft.Dashboard grafana
grafana
Microsoft.Databricks 空值 workspaces
Microsoft.DataFactory datafactories
factories
factories
Microsoft.DataLakeAnalytics 帐户
帐户
Microsoft.DataLakeStore 帐户
帐户
Microsoft.DataProtection BackupVaults
BackupVaults
Microsoft.DataShare 帐户
帐户
Microsoft.DBforMariaDB 服务器
服务器
Microsoft.DBforMySQL flexibleServers
服务器
flexibleServers
服务器
Microsoft.DBforPostgreSQL flexibleServers
服务器
serversv2
flexibleServers
服务器
serversv2
Microsoft.DBForPostgreSQL serverGroupsv2
serverGroupsv2
Microsoft。
DesktopVirtualization
空值 appAttachPackages
applicationgroups
hostpools
缩放计划
workspaces
Microsoft.DevCenter devcenters
devcenters
Microsoft.Devices IotHubs
provisioningServices
IotHubs
provisioningServices
Microsoft.DevOpsInfrastructure

Microsoft.DigitalTwins digitalTwinsInstances
digitalTwinsInstances
Microsoft.DocumentDB cassandraClusters
DatabaseAccounts
mongoClusters
cassandraClusters
DatabaseAccounts
mongoClusters
Microsoft.EventGrid
eventSubscriptions
extensionTopics
namespaces
partnerNamespaces
partnerTopics
systemTopics
topics

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
组件
autoscalesettings
组件
Microsoft.Insights datacollectionrules
datacollectionrules
microsoft.keyvault managedhsms
managedhsms
Microsoft.KeyVault 金库
金库
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 帐户
帐户
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 标题
标题
Microsoft.PowerBI 空值 tenants
tenants/workspaces
Microsoft.PowerBIDedicated 能力
能力
Microsoft.ProviderHub 空值 providerMonitorSettings
microsoft.purview 帐户
帐户
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 帐户
帐户
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
缓存
amlFilesystems
缓存
Microsoft.StorageMover storageMovers
storageMovers
Microsoft.StreamAnalytics 流式处理作业
流式处理作业
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 空值 帐户
Microsoft.Web containerapps
hostingEnvironments
hostingenvironments/multirolepools
hostingenvironments/workerpools
serverfarms
网站
sites/slots
staticsites
hostingEnvironments
网站
sites/slots
staticsites
microsoft.workloads 空值 sapvirtualinstances
NGINX。NGINXPLUS NGINX。NGINXPLUS/nginxDeployments
NGINX。NGINXPLUS/nginxDeployments
Microsoft.azurestackhci clusters
空值
microsoft.bing 帐户
空值
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 磁盘
空值
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 帐户
空值
Microsoft.MessagingConnectors connectors
空值
Microsoft.MixedReality remoteRenderingAccounts
spatialAnchorsAccounts
空值
Microsoft.MobileNetwork mobilenetworks/sites
packetcorecontrolplanes
packetcorecontrolplanes/packetcoredataplanes
radioAccessNetworks
空值
Microsoft.Orbital contactProfiles
l2Connections
航天器
终端
空值
Microsoft.Peering 对等互连
peeringServices
空值
microsoft.resources subscriptions
空值
microsoft.securitydetonation
空值
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/迁移程序
Wandisco.Fusion/migrators/dataTransferAgents
Wandisco.Fusion/migrators/liveDataMigrations
Wandisco.Fusion/migrators/metadataMigrations
空值

后续步骤