ContainerLog

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

表属性

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

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