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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈