AppPlatformSystemLogs 表的查询
有关在 Azure 门户中使用这些查询的信息,请参阅 Log Analytics 教程。 有关 REST API,请参阅查询。
查看级别警告和错误的配置服务器日志。
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 Gateway 日志。
AppPlatformSystemLogs
| where LogType == "SpringCloudGateway"
| project TimeGenerated , ServiceName , Log , _ResourceId
| limit 100
查看企业层的 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 操作员日志。
AppPlatformSystemLogs
| where LogType == "SpringCloudGatewayOperator"
| project TimeGenerated , ServiceName , Log , _ResourceId
| limit 100