AppPlatformSystemLogs テーブルのクエリ

Azure portal でこれらのクエリを使用する方法については、 Log Analytics のチュートリアルを参照してください。 REST API については、「 Query」を参照してください。

構成サーバーのログを表示します

レベルの警告とエラーの構成サーバー ログを表示します。

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 のログを表示する

Enterprise レベルの Spring Cloud Gateway ログを表示します。

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

API ポータルのログを表示する

Enterprise レベルの API ポータル ログを表示します。

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

Application Configuration Service ログを表示する

Enterprise レベルの Application Configuration Service ログを表示します。

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

Spring Cloud Gateway オペレーターのログを表示する

Enterprise レベルの Spring Cloud Gateway オペレーター ログを表示します。

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