用于 VM 的 Azure Monitor 收集性能和连接指标、计算机和进程库存数据以及运行状况信息,并将其转发到 Azure Monitor 中的 Log Analytics 工作区。 此数据可用于 Azure Monitor 中的查询。 此数据可应用于包括迁移计划、容量分析、发现和按需性能故障排除在内的方案。
映射记录
除了在进程或计算机启动或载入到用于 VM 的 Azure Monitor 映射功能时生成的记录以外,还会针对每个唯一计算机和进程每小时生成一条记录。 这些记录的属性在下表中列出。 ServiceMapComputer_CL 事件中的字段和值映射到 ServiceMap Azure 资源管理器 API 中计算机资源的字段。 ServiceMapProcess_CL 事件中的字段和值映射到 ServiceMap Azure 资源管理器 API 中进程资源的字段。 ResourceName_s 字段与相应的 Azure Resource Manager 资源中的名称字段匹配。
包含内部生成的可用于标识唯一进程和计算机的属性:
- 计算机:使用 ResourceId 或 ResourceName_s 唯一标识 Log Analytics 工作区中的计算机。
- 进程:使用 ResourceId 唯一标识 Log Analytics 工作区中的进程。 ResourceName_s 在运行进程的计算机的上下文中是唯一的 (MachineResourceName_s)
由于在指定的时间范围内,指定的进程和计算机可能存在多条记录,因此针对同一个计算机或进程的查询可能返回多条记录。 若要仅添加最新记录,请在查询中添加 | summarize arg_max(TimeGenerated, *) by ResourceId。
连接和端口
“连接指标”功能在 Azure Monitor 日志中引入两个新表 - VMConnection 和 VMBoundPort。 这两个表提供有关计算机的连接(入站和出站)的信息,以及在其上处于打开/活动状态的服务器端口的信息。 还可以通过 API 公开连接指标。使用这些 API 可以获取某个时间范围内的特定指标。 由于侦听套接字上的 接受 导致的 TCP 连接是入站的,而通过 连接 到给定的 IP 和端口创建的连接是出站的。 连接方向由 Direction 属性表示,可将其设置为 inbound 或 outbound。
这些表中的记录是基于依赖项代理报告的数据生成的。 每条记录表示 1 分钟时间间隔内观测到的结果。 TimeGenerated 属性表示时间间隔的开始时间。 每条记录包含用于识别相应实体(即连接或端口)以及与该实体关联的指标的信息。 目前,只会报告使用“基于 IPv4 的 TCP”发生的网络活动。
公共字段和约定
以下字段和约定仅适用于 VMConnection 和 VMBoundPort:
- 计算机:报告计算机的完全限定的域名
- AgentId:具有 Log Analytics 代理的计算机的唯一标识符
- 计算机: ServiceMap 公开的计算机的 Azure 资源管理器资源的名称。 它的格式为 m-{GUID},其中 guid 与 AgentId 的 guid 相同
- 进程: ServiceMap 公开的进程的 Azure 资源管理器资源的名称。 它采用 p-{十六进制字符串} 格式。 流程在计算机作用域内是独一无二的,用于生成在多个计算机中唯一的进程 ID,以及组合计算机和进程字段。
- ProcessName:报告进程的可执行文件名称。
- 所有 IP 地址都是 IPv4 规范格式的字符串,例如 13.107.3.160
为了控制成本和复杂性,连接记录不会显示单个物理网络连接。 多个物理网络连接分组到一个逻辑连接中,然后在相应的表中反映该逻辑连接。 这意味着,VMConnection 表中的记录表示逻辑分组,而不是观测到的单个物理连接。 在给定的一分钟时间间隔内对以下属性共用相同值的物理网络连接聚合到 VMConnection 中的一个逻辑记录内。
| 属性 | 说明 |
|---|---|
| 方向 | 连接方向,值为 inbound 或 outbound |
| 计算机 | 计算机 FQDN |
| 过程 | 进程或进程组的标识,状态为正在启动/接受连接 |
| SourceIp | 源的 IP 地址 |
| DestinationIp | 目标的 IP 地址 |
| DestinationPort | 目标的端口号 |
| 协议 | 用于连接的协议。 值为 tcp。 |
为了帮助你权衡分组造成的影响,以下记录属性中提供了有关分组的物理连接数的信息:
| 属性 | 说明 |
|---|---|
| LinksEstablished | 在报告时间范围内建立的物理网络连接数 |
| LinksTerminated | 在报告时间范围内终止的物理网络连接数 |
| LinksFailed | 在报告时间范围内失败的物理网络连接数 此信息目前仅适用于出站连接。 |
| LinksLive | 在报告时间范围结束时打开的物理网络连接数 |
指标
除了连接计数指标以外,以下记录属性中还包含了有关在给定逻辑连接或网络端口上发送和接收的数据量的信息:
| 属性 | 说明 |
|---|---|
| BytesSent | 在报告时间范围内发送的字节总数 |
| BytesReceived | 在报告时间范围内接收的字节总数 |
| 响应 | 在报告时间范围内观测到的响应数。 |
| ResponseTimeMax | 在报告时间范围内观测到的最大响应时间(毫秒)。 如果无值,则该属性为空。 |
| ResponseTimeMin | 在报告时间范围内观测到的最小响应时间(毫秒)。 如果无值,则该属性为空。 |
| ResponseTimeSum | 在报告时间范围内观测到的所有响应时间的和(毫秒)。 如果无值,则该属性为空。 |
报告的第三种数据类型是响应时间 - 调用方花费了多长时间来等待通过连接发送请求进行处理,并收到远程终结点的响应。 报告的响应时间是底层应用程序协议的真实响应时间的估算值。 它是基于物理网络连接的源与目标端之间的数据流观测结果,使用试探法计算出来的。 从概念上讲,它是请求的最后一个字节离开发送方的时间,与发送方收到响应的最后一个字节的时间的差。 这两个时间戳用于描述给定物理连接上的请求和响应事件。 两者的差表示单个请求的响应时间。
在此功能的第一个版本中,我们的算法是求近似值,根据给定网络连接所用的实际应用程序协议,其成功度各不相同。 例如,当前做法非常适合基于请求-响应的协议(例如 HTTP (S)),但不适合单向协议或基于消息队列的协议。
考虑的几个要点:
- 如果进程在相同的 IP 地址上接受连接,但通过多个网络接口接受连接,则为每个接口单独报告一条记录。
- 带通配符 IP 的记录不包含任何活动。 包含此类记录的目的是表示在计算机上为入站流量开放了某个端口这一事实。
- 为了降低详细程度和数据量,存在带有特定 IP 地址的匹配记录(适用于相同的进程、端口和协议)时,将省略带通配符 IP 的记录。 省略了通配符 IP 记录后,具有特定 IP 地址的 IsWildcardBind 记录属性将设置为“True”,表示已通过报告计算机的每个接口公开了该端口。
- 仅在特定接口上绑定的端口的 IsWildcardBind 设置为 False。
命名和分类
为提供方便,RemoteIp 属性中包含了连接的远程端的 IP 地址。 对于入站连接,RemoteIp 与 SourceIp 相同;对于出站连接,RemoteIp 与 DestinationIp 相同。 RemoteDnsCanonicalNames 属性表示计算机针对 RemoteIp 报告的 DNS 规范名称。 RemoteDnsQuestions 属性表示计算机为 RemoteIp 报告的 DNS 问题。 RemoveClassification 属性保留供将来使用。
地理位置
VMConnection 还包含以下记录属性中每个连接记录的远程端的地理位置信息:
| 属性 | 说明 |
|---|---|
| RemoteCountry | 托管 RemoteIp 的国家/地区的名称。 例如, 美国 |
| RemoteLatitude | 地理位置的纬度。 例如 47.68 |
| RemoteLongitude | 地理位置的经度。 例如 -122.12 |
恶意 IP
将会根据一组 IP 检查 VMConnection 表中的每个 RemoteIp 属性,以识别已知的恶意活动。 如果 RemoteIp 识别为恶意,则会在以下记录属性中填充以下属性(如果未将该 IP 视为恶意,则这些属性为空):
| 属性 | 说明 |
|---|---|
| MaliciousIp | RemoteIp 地址 |
| IndicatorThreadType | 检测到的威胁标志是以下值之一:Botnet、C2、CryptoMining、Darknet、DDos、MaliciousUrl、Malware、Phishing、Proxy、PUA 和 Watchlist。 |
| 说明 | 观察到的威胁说明。 |
| TLPLevel | 交通信号灯协议 (TLP) 级别是以下定义值之一:White、Green、Amber 和 Red。 |
| 置信度 | 值介于 0 和 100 之间。 |
| 严重性 | 值介于 0 和 5 之间,其中 5 表示最严重,0 表示毫不严重。 默认值为 3。 |
| FirstReportedDateTime | 提供程序第一次报告指标。 |
| LastReportedDateTime | Interflow 最后一次看到指标。 |
| IsActive | 使用值 True 或 False 指明是否停用标志。 |
| ReportReferenceLink | 与给定可观测结果相关的报告的链接。 |
| AdditionalInformation | 提供观测到的威胁的其他信息(若有)。 |
端口
计算机上那些会积极接受传入流量,或者可能会接受流量,但在报告时间窗口期间处于空闲状态的端口会写入到 VMBoundPort 表。
VMBoundPort 中的每个记录按以下字段标识:
| 属性 | 说明 |
|---|---|
| 过程 | 标识与端口关联的进程(或进程组)。 |
| Ip | 端口 IP 地址(可以是通配符 IP 0.0.0.0) |
| Port | 端口号 |
| 协议 | 协议。 例如 tcp 或 udp(目前仅支持 tcp)。 |
端口派生自上述五个字段时使用的标识,存储在 PortId 属性中。 可以使用此属性快速查找一段时间内特定端口的记录。
指标
端口记录包含的指标代表与之关联的连接。 目前会报告以下指标(每个指标的详细信息已在上一部分介绍):
- BytesSent 和 BytesReceived
- LinksEstablished、LinksTerminated、LinksLive
- ResposeTime、ResponseTimeMin、ResponseTimeMax、ResponseTimeSum
考虑的几个要点:
- 如果进程在相同的 IP 地址上接受连接,但通过多个网络接口接受连接,则为每个接口单独报告一条记录。
- 带通配符 IP 的记录不包含任何活动。 包含此类记录的目的是表示在计算机上为入站流量开放了某个端口这一事实。
- 为了降低详细程度和数据量,存在带有特定 IP 地址的匹配记录(适用于相同的进程、端口和协议)时,将省略带通配符 IP 的记录。 省略了通配符 IP 记录后,具有特定 IP 地址的记录的 IsWildcardBind 属性将设置为 True。 这表示已通过报告计算机的每个接口公开了该端口。
- 仅在特定接口上绑定的端口的 IsWildcardBind 设置为 False。
VMComputer 记录
类型为 VMComputer 的记录具有具有依赖关系代理的服务器的清单数据。 这些记录的属性在下表中列出:
| 属性 | 说明 |
|---|---|
| TenantId | 工作区的唯一标识符 |
| SourceSystem | Insights |
| TimeGenerated | 记录的时间戳 (UTC) |
| Computer | 计算机 FQDN |
| AgentId | Log Analytics 代理的唯一 ID |
| 计算机 | ServiceMap 公开的计算机的 Azure 资源管理器资源的名称。 它的格式为 m-{GUID},其中 Guid 是与 AgentId 相同的 guid。 |
| DisplayName | 显示名称 |
| FullDisplayName | 完整显示名称 |
| HostName | 不带域名的计算机的名称 |
| BootTime | 计算机启动时间 (UTC) |
| TimeZone | 规范化时区 |
| VirtualizationState | 虚拟**机监控程序、物理 |
| Ipv4Addresses | IPv4 地址的数组 |
| Ipv4SubnetMasks | IPv4 子网掩码的数组, (的顺序与 Ipv4Addresses) 相同。 |
| Ipv4DefaultGateways | IPv4 网关的数组 |
| Ipv6Addresses | IPv6 地址的数组 |
| MacAddresses | MAC 地址数组 |
| DnsNames | 与计算机关联的 DNS 名称的数组。 |
| DependencyAgentVersion | 计算机上运行的依赖项代理的版本。 |
| OperatingSystemFamily | Linux、 Windows |
| OperatingSystemFullName | 操作系统的全名 |
| PhysicalMemoryMB | 物理内存(以 mb 为单位) |
| Cpu | 处理器的数目 |
| CpuSpeed | CPU 速度(以 MHz 为单位) |
| VirtualMachineType | hyperv、 vmware、 xen |
| VirtualMachineNativeId | 由虚拟机监控程序分配的 VM ID |
| VirtualMachineNativeName | VM 的名称 |
| VirtualMachineHypervisorId | 托管 VM 的虚拟机监控程序的唯一标识符 |
| HypervisorType | hyperv |
| HypervisorId | 虚拟机监控程序的唯一 ID |
| HostingProvider | microsoft |
| _ResourceId | Azure 资源的唯一标识符 |
| AzureSubscriptionId | 标识订阅的全局唯一标识符 |
| New-azureresourcegroup | 计算机所属的 Azure 资源组的名称。 |
| AzureResourceName | Azure 资源的名称 |
| Get-azurelocation | Azure 资源的位置 |
| AzureUpdateDomain | Azure 更新域的名称 |
| AzureFaultDomain | Azure 容错域的名称 |
| AzureVmId | Azure 虚拟机的唯一标识符 |
| AzureSize | Azure 虚拟机的大小 |
| AzureImagePublisher | Azure VM 发布服务器的名称 |
| AzureImageOffering | Azure VM 产品/服务类型的名称 |
| AzureImageSku | Azure VM 映像的 SKU |
| AzureImageVersion | Azure VM 映像的版本 |
| AzureCloudServiceName | Azure 云服务的名称 |
| AzureCloudServiceDeployment | 云服务的部署 ID |
| AzureCloudServiceRoleName | 云服务角色名称 |
| AzureCloudServiceRoleType | 云服务角色类型: 辅助 角色或 web |
| AzureCloudServiceInstanceId | 云服务角色实例 ID |
| AzureVmScaleSetName | 虚拟机规模集的名称 |
| AzureVmScaleSetDeployment | 虚拟机规模集部署 ID |
| AzureVmScaleSetResourceId | 虚拟机规模集资源的唯一标识符。 |
| AzureVmScaleSetInstanceId | 虚拟机规模集的唯一标识符 |
| AzureServiceFabricClusterId | Azure Service Fabric 群集的唯一标识符 |
| AzureServiceFabricClusterName | Azure Service Fabric 群集的名称 |
VMProcess 记录
类型为 VMProcess 的记录具有具有依赖关系代理的服务器上的 TCP 连接进程的清单数据。 这些记录的属性在下表中列出:
| 属性 | 说明 |
|---|---|
| TenantId | 工作区的唯一标识符 |
| SourceSystem | Insights |
| TimeGenerated | 记录的时间戳 (UTC) |
| Computer | 计算机 FQDN |
| AgentId | Log Analytics 代理的唯一 ID |
| 计算机 | ServiceMap 公开的计算机的 Azure 资源管理器资源的名称。 它的格式为 m-{GUID},其中 Guid 是与 AgentId 相同的 guid。 |
| 过程 | 服务映射进程的唯一标识符。 它采用 p-{GUID} 的形式。 |
| ExecutableName | 进程可执行文件的名称 |
| DisplayName | 进程显示名称 |
| 角色 | 进程角色: web 服务器、 microsoft.windows.appserver.2008、 databaseServer、 ldapServer、 smbServer |
| Group | 进程组名称。 同一组中的进程在逻辑上是相关的,例如同一个产品或系统组件的一部分。 |
| StartTime | 进程池启动时间 |
| FirstPid | 进程池中的第一个 PID |
| 说明 | 进程说明 |
| CompanyName | 公司名称 |
| InternalName | 内部名称 |
| ProductName | 产品名称 |
| ProductVersion | 产品版本 |
| FileVersion | 文件的版本 |
| ExecutablePath | 可执行文件的路径 |
| CommandLine | 命令行 |
| WorkingDirectory | 工作目录 |
| 服务 | 正在执行进程的服务的数组 |
| UserName | 执行进程所用的帐户 |
| UserDomain | 执行进程所在的域 |
| _ResourceId | 工作区中进程的唯一标识符 |
示例映射查询
列出所有已知计算机
VMComputer | summarize arg_max(TimeGenerated, *) by _ResourceId
VM 上次重启的时间
let Today = now(); VMComputer | extend DaysSinceBoot = Today - BootTime | summarize by Computer, DaysSinceBoot, BootTime | sort by BootTime asc
按映像、位置和 SKU 分类的 Azure VM 摘要
VMComputer | where AzureLocation != "" | summarize by Computer, AzureImageOffering, AzureLocation, AzureImageSku
列出所有被管理的计算机的物理内存容量
VMComputer | summarize arg_max(TimeGenerated, *) by _ResourceId | project PhysicalMemoryMB, Computer
列出计算机名称、DNS、IP 和 OS
VMComputer | summarize arg_max(TimeGenerated, *) by _ResourceId | project Computer, OperatingSystemFullName, DnsNames, Ipv4Addresses
在命令行中查找带有“sql”的所有进程
VMProcess | where CommandLine contains_cs "sql" | summarize arg_max(TimeGenerated, *) by _ResourceId
按资源名称查找计算机(最新记录)
search in (VMComputer) "m-4b9c93f9-bc37-46df-b43c-899ba829e07b" | summarize arg_max(TimeGenerated, *) by _ResourceId
按 IP 地址查找计算机(最新记录)
search in (VMComputer) "10.229.243.232" | summarize arg_max(TimeGenerated, *) by _ResourceId
列出指定计算机上的所有已知进程
VMProcess | where Machine == "m-559dbcd8-3130-454d-8d1d-f624e57961bc" | summarize arg_max(TimeGenerated, *) by _ResourceId
列出所有运行 SQL Server 的计算机
VMComputer | where AzureResourceName in ((search in (VMProcess) "*sql*" | distinct Machine)) | distinct Computer
在我的数据中心列出 curl 的所有唯一产品版本
VMProcess | where ExecutableName == "curl" | distinct ProductVersion
创建由运行 CentOS 的所有计算机组成的计算机组
VMComputer | where OperatingSystemFullName contains_cs "CentOS" | distinct Computer
发送和收到的字节数趋势
VMConnection | summarize sum(BytesSent), sum(BytesReceived) by bin(TimeGenerated,1hr), Computer | order by Computer desc | render timechart
哪些 Azure VM 传输的字节数最多
VMConnection | join kind=fullouter(VMComputer) on $left.Computer == $right.Computer | summarize count(BytesSent) by Computer, AzureVMSize | sort by count_BytesSent desc
链接状态趋势
VMConnection | where TimeGenerated >= ago(24hr) | where Computer == "acme-demo" | summarize dcount(LinksEstablished), dcount(LinksLive), dcount(LinksFailed), dcount(LinksTerminated) by bin(TimeGenerated, 1h) | render timechart
连接失败趋势
VMConnection | where Computer == "acme-demo" | extend bythehour = datetime_part("hour", TimeGenerated) | project bythehour, LinksFailed | summarize failCount = count() by bythehour | sort by bythehour asc | render timechart
绑定端口
VMBoundPort
| where TimeGenerated >= ago(24hr)
| where Computer == 'admdemo-appsvr'
| distinct Port, ProcessName
多个计算机中已打开端口的数目。
VMBoundPort
| where Ip != "127.0.0.1"
| summarize by Computer, Machine, Port, Protocol
| summarize OpenPorts=count() by Computer, Machine
| order by OpenPorts desc
按已打开端口的数目对工作区中的进程评分
VMBoundPort
| where Ip != "127.0.0.1"
| summarize by ProcessName, Port, Protocol
| summarize OpenPorts=count() by ProcessName
| order by OpenPorts desc
聚合每个端口的行为
然后,可以使用此查询按活动对端口评分,例如,入站/出站流量最多的端口、连接数最多的端口。
//
VMBoundPort
| where Ip != "127.0.0.1"
| summarize BytesSent=sum(BytesSent), BytesReceived=sum(BytesReceived), LinksEstablished=sum(LinksEstablished), LinksTerminated=sum(LinksTerminated), arg_max(TimeGenerated, LinksLive) by Machine, Computer, ProcessName, Ip, Port, IsWildcardBind
| project-away TimeGenerated
| order by Machine, Computer, Port, Ip, ProcessName
汇总一组计算机的出站连接
// the machines of interest
let machines = datatable(m: string) ["m-82412a7a-6a32-45a9-a8d6-538354224a25"];
// map of ip to monitored machine in the environment
let ips=materialize(VMComputer
| summarize ips=makeset(todynamic(Ipv4Addresses)) by MonitoredMachine=AzureResourceName
| mvexpand ips to typeof(string));
// all connections to/from the machines of interest
let out=materialize(VMConnection
| where Machine in (machines)
| summarize arg_max(TimeGenerated, *) by ConnectionId);
// connections to localhost augmented with RemoteMachine
let local=out
| where RemoteIp startswith "127."
| project ConnectionId, Direction, Machine, Process, ProcessName, SourceIp, DestinationIp, DestinationPort, Protocol, RemoteIp, RemoteMachine=Machine;
// connections not to localhost augmented with RemoteMachine
let remote=materialize(out
| where RemoteIp !startswith "127."
| join kind=leftouter (ips) on $left.RemoteIp == $right.ips
| summarize by ConnectionId, Direction, Machine, Process, ProcessName, SourceIp, DestinationIp, DestinationPort, Protocol, RemoteIp, RemoteMachine=MonitoredMachine);
// the remote machines to/from which we have connections
let remoteMachines = remote | summarize by RemoteMachine;
// all augmented connections
(local)
| union (remote)
//Take all outbound records but only inbound records that come from either //unmonitored machines or monitored machines not in the set for which we are computing dependencies.
| where Direction == 'outbound' or (Direction == 'inbound' and RemoteMachine !in (machines))
| summarize by ConnectionId, Direction, Machine, Process, ProcessName, SourceIp, DestinationIp, DestinationPort, Protocol, RemoteIp, RemoteMachine
// identify the remote port
| extend RemotePort=iff(Direction == 'outbound', DestinationPort, 0)
// construct the join key we'll use to find a matching port
| extend JoinKey=strcat_delim(':', RemoteMachine, RemoteIp, RemotePort, Protocol)
// find a matching port
| join kind=leftouter (VMBoundPort
| where Machine in (remoteMachines)
| summarize arg_max(TimeGenerated, *) by PortId
| extend JoinKey=strcat_delim(':', Machine, Ip, Port, Protocol)) on JoinKey
// aggregate the remote information
| summarize Remote=makeset(iff(isempty(RemoteMachine), todynamic('{}'), pack('Machine', RemoteMachine, 'Process', Process1, 'ProcessName', ProcessName1))) by ConnectionId, Direction, Machine, Process, ProcessName, SourceIp, DestinationIp, DestinationPort, Protocol
性能记录
类型为 InsightsMetrics 的记录包含来自虚拟机的来宾操作系统的性能数据。 这些记录的属性在下表中列出:
| 属性 | 说明 |
|---|---|
| TenantId | 工作区的唯一标识符 |
| SourceSystem | Insights |
| TimeGenerated | 收集值的时间 (UTC) |
| Computer | 计算机 FQDN |
| 源 | vm.azm.ms |
| 命名空间 | 性能计数器的类别 |
| 名称 | 性能计数器的名称 |
| Val | 收集的值 |
| 标记 | 有关记录的相关详细信息。 请参阅下表,了解用于不同记录类型的标记。 |
| AgentId | 每台计算机的代理的唯一标识符 |
| 类型 | InsightsMetrics |
| ResourceId | 虚拟机的资源 ID |
下表列出了当前收集到 InsightsMetrics 表中的性能计数器:
| 命名空间 | 名称 | 说明 | 计价单位 | 标记 |
|---|---|---|---|---|
| Computer | 检测信号 | 计算机检测信号 | ||
| 内存 | AvailableMB | 内存可用字节数 | 兆字节 | memorySizeMB-内存总大小 |
| 网络 | WriteBytesPerSecond | 每秒网络写入字节数 | 每秒字节数 | NetworkDeviceId-设备 Id字节-发送的字节总数 |
| 网络 | ReadBytesPerSecond | 每秒网络读取字节数 | 每秒字节数 | networkDeviceId-设备 Id字节-接收的字节总数 |
| 处理器 | UtilizationPercentage | 处理器使用率百分比 | 百分比 | totalCpus-Cpu 总数 |
| LogicalDisk | WritesPerSecond | 每秒逻辑磁盘写入数 | 每秒计数 | mountId-设备的装载 ID |
| LogicalDisk | WriteLatencyMs | 逻辑磁盘写入延迟毫秒 | 毫秒 | mountId-设备的装载 ID |
| LogicalDisk | WriteBytesPerSecond | 逻辑磁盘每秒写入的字节数 | 每秒字节数 | mountId-设备的装载 ID |
| LogicalDisk | TransfersPerSecond | 每秒逻辑磁盘传输数 | 每秒计数 | mountId-设备的装载 ID |
| LogicalDisk | TransferLatencyMs | 逻辑磁盘传输延迟毫秒 | 毫秒 | mountId-设备的装载 ID |
| LogicalDisk | ReadsPerSecond | 逻辑磁盘每秒读取数 | 每秒计数 | mountId-设备的装载 ID |
| LogicalDisk | ReadLatencyMs | 逻辑磁盘读取延迟毫秒 | 毫秒 | mountId-设备的装载 ID |
| LogicalDisk | ReadBytesPerSecond | 逻辑磁盘每秒读取的字节数 | 每秒字节数 | mountId-设备的装载 ID |
| LogicalDisk | FreeSpacePercentage | 逻辑磁盘可用空间百分比 | 百分比 | mountId-设备的装载 ID |
| LogicalDisk | FreeSpaceMB | 逻辑磁盘可用空间字节数 | 兆字节 | mountId-设备的装载 IDdiskSizeMB-总磁盘大小 |
| LogicalDisk | 每秒字节数 | 每秒逻辑磁盘字节数 | 每秒字节数 | mountId-设备的装载 ID |
后续步骤
-
如果不了解如何在 Azure Monitor 中编写日志查询,请参阅 Azure 门户中的如何使用 Log Analytics 来编写日志查询。
-
了解如何 编写搜索查询。
历史资料。此文对应 2022-08-12 的中文文档快照,适用产品版本和命令行为以原文为准。
来源与署名:Microsoft 和文档贡献者(原始作者元数据 bwren)。固定版本原文。文档采用 CC BY 4.0,示例代码采用 MIT 授权。本站将 Markdown 转为 HTML,规范化链接,移除外部媒体和导航标记。
