AppPlatformSystemLogs 表的查询

显示配置服务器日志

查看级别警告和错误的配置服务器日志。

AppPlatformSystemLogs 
| where LogType == "ConfigServer" and Level in ("WARN", "ERROR")
| project TimeGenerated , Level , ServiceName , Thread , Stack , Log , _ResourceId 
| limit 100

显示服务注册表日志

查看所有层的级别警告和错误的服务注册表日志。

AppPlatformSystemLogs 
| where LogType == "ServiceRegistry" and Level in ("WARN", "ERROR")
| project TimeGenerated , Level , ServiceName , Thread , Stack , Log , _ResourceId 
| limit 100

显示 Spring Cloud 网关日志

查看企业层的 Spring Cloud 网关日志。

AppPlatformSystemLogs 
| where LogType == "SpringCloudGateway"
| project TimeGenerated , ServiceName , Log , _ResourceId 
| limit 100

显示 API 门户日志

查看企业层的 API 门户日志。

AppPlatformSystemLogs 
| where LogType == "ApiPortal"
| project TimeGenerated , ServiceName , Log , _ResourceId 
| limit 100

显示应用程序配置服务日志

查看企业层的应用程序配置服务日志。

AppPlatformSystemLogs 
| where LogType == "ApplicationConfigurationService"
| project TimeGenerated , ServiceName , Log , _ResourceId 
| limit 100

显示 Spring Cloud Gateway 操作员日志

查看企业层的 Spring Cloud Gateway 操作员日志。

AppPlatformSystemLogs 
| where LogType == "SpringCloudGatewayOperator"
| project TimeGenerated , ServiceName , Log , _ResourceId 
| limit 100