共用方式為


AmlOnlineEndpointTrafficLog 數據表的查詢

如需在 Azure 入口網站 使用這些查詢的相關信息,請參閱Log Analytics教學課程。 如需 REST API,請參閱 查詢

在線端點失敗的要求

取得對在線端點的最新 100 個失敗推斷要求。

AmlOnlineEndpointTrafficLog
| where ResponseCode != "200" and ResponseCode != "100" 
| project
    TimeGenerated,
    Location,
    OperationName,
    Method,
    Path,
    Subscription = _SubscriptionId,
    AzureMLWorkspaceId,
    EndpointName,
    DeploymentName,
    Protocol,
    ResponseCode,
    ResponseCodeReason,
    ModelStatusCode,
    ModelStatusReason,
    RequestPayloadSize,
    ResponsePayloadSize,
    UserAgent,
    XRequestId,
    XMSClientRequestId,
    TotalDurationMs,
    RequestDurationMs,
    ResponseDurationMs,
    RequestThrottlingDelayMs,
    ResponseThrottlingDelayMs
| top 100 by TimeGenerated