共用方式為

ContainerLog

从容器的 stdout 和 stderr 流收集的日志行。

表特性

Attribute
资源类型 microsoft.containerservice/managedclusters,
microsoft.kubernetes/connectedclusters,
microsoft.compute/virtualmachines,
microsoft.conenctedvmwarevsphere/virtualmachines,
microsoft.azurestackhci/virtualmachines,
microsoft.scvmm/virtualmachines,
microsoft.compute/virtualmachinescalesets,
microsoft.hybridcontainerservice/provisionedclusters
类别 容器、应用程序
解决方案 AzureResources、ContainerInsights、Containers
基本日志
引入时转换
示例查询

类型 描述
_BilledSize real 记录大小(字节)
Computer 字符串 正在生成日志的计算机/节点。
ContainerID 字符串 Docker 引擎看到的日志源的容器 ID。
图像 字符串 Docker 引擎看到的日志源的容器映像。
映像标记 字符串 仅用于容器解决方案。 适用于容器的 Azure Monitor Azure 未填充。
_IsBillable 字符串 指定引入数据是否计费。 当 _IsBillable 为 false 时,不会向 Azure 帐户计收引入费
LogEntry 字符串 实际日志行。
LogEntrySource 字符串 日志行的源。 可能的值为 stdout 或 stderr。
名称 字符串 PODUid/ContainerName 形式的容器唯一名称。
存储库 字符串 仅用于容器解决方案。 适用于容器的 Azure Monitor Azure 未填充。
_ResourceId 字符串 与记录关联的资源的唯一标识符
SourceSystem 字符串 收集事件的代理的类型。 例如,适用于 Windows 代理的 OpsManager、直接连接或 Operations Manager、适用于所有 Linux 代理的 Linux 或适用于 Azure 诊断的 Azure
_SubscriptionId 字符串 与记录关联的订阅的唯一标识符
TimeGenerated 日期/时间 创建记录的日期和时间。
TimeOfCommand 日期/时间 代理处理日志的时间。 这是一个可选字段,主要用于排除代理的延迟问题。
类型 字符串 表的名称