Query per la tabella CIEventsAudit
Per informazioni sull'uso di queste query nella portale di Azure, vedere Esercitazione su Log Analytics. Per l'API REST, vedere Query.
CIEventsAudit - Grafico a linee codici di risposta API
Grafico a linee che mostra la durata della risposta delle richieste per operazione.
CIEventsAudit
| summarize DurationMs = avg(DurationMs) by bin(TimeGenerated, 5m), OperationName
| render timechart
CIEventsAudit - Tipo di risultato ClientError
Ottiene un elenco di richieste di eventi operativi completati con il tipo di risultato ClientError: codice < di stato HTTP 500.
CIEventsAudit
| where ResultType has "ClientError"
| sort by TimeGenerated desc
| limit 100 // You can adjust the limit value to the number of logs you would like to retrieve.
CIEventsAudit - Errore a livello di sicurezza
Ottiene un elenco di richieste API completate con il livello di gravità dell'errore.
CIEventsAudit
| where Level has "Error"
| sort by TimeGenerated desc
| limit 100 // You can adjust the limit value to the number of logs you would like to retrieve.
CIEvents : tutti gli eventi per un ID di correlazione specifico
Ottiene un elenco di tutte le richieste di eventi per un ID di correlazione specifico
union CIEventsAudit , CIEventsOperational
| where CorrelationId == "" // Add your CorrelationId in the quotation marks
| sort by TimeGenerated desc
| limit 100
CIEventsAudit : tutti gli eventi per un ID istanza specifico
Ottiene un elenco di richieste di eventi API per un ID istanza specifico.
CIEventsAudit
| where InstanceId == "" // Add your InstanceId in the quotation marks
| sort by TimeGenerated desc
| limit 100