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

ContainerLog

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

表属性

属性
资源类型 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 记录大小(字节)
电脑 字符串 正在生成日志的计算机/节点。
容器标识符(ContainerID) 字符串 Docker 引擎看到的日志源的容器 ID。
图片 字符串 Docker 引擎看到的日志源的容器映像。
ImageTag 字符串 仅用于容器解决方案。 不适用于容器的 Azure Monitor 填充。
_IsBillable 字符串 指定引入数据是否可计费。 当 _IsBillable 为 false 时,不会向 Azure 帐户计收引入费
LogEntry 字符串 实际日志行。
LogEntrySource 字符串 日志条目的来源 可能的值为 stdout 或 stderr。
名称 字符串 PODUid/ContainerName 格式的容器唯一名称。
资料库 字符串 仅用于容器解决方案。 不适用于容器的 Azure Monitor 填充。
_资源ID 字符串 与记录关联的资源的唯一标识符
SourceSystem 字符串 收集事件的代理的类型。 例如,对于 Windows 代理,要么通过直接连接,要么通过 Operations Manager;对于所有 Linux 代理,使用 OpsManager;对于 Azure 诊断,使用 Linux
_SubscriptionId(订阅编号) 字符串 与记录关联的订阅的唯一标识符
TimeGenerated 日期/时间 创建记录的日期和时间。
TimeOfCommand 日期/时间 代理处理日志的时间。 这是一个可选字段,主要用于排除代理的延迟问题。
类型​​ 字符串 表的名称