Share via


Query per la tabella TSIIngress

Mostra errori di connessione all'origine eventi

Recupera i 100 log più recenti relativi agli errori di connessione all'origine eventi e li riepiloga per visualizzare l'ora in cui il log è stato generato (TimeGenerated), una descrizione di alto livello (ResultDescription), un messaggio continando dettagli su cosa è andato male e su come correggerlo (messaggio) e la configurazione corrente dell'origine eventi (EventSourceProperties).

//Retrieves the most recent 100 logs pertaining to event source connection failures and summarizes them to display the time when the log was generated (TimeGenerated), a high level description (ResultDescription), a message continaing details on what went wrong and how to fix it (Message), and your event source's current configuration (EventSourceProperties). 
TSIIngress
| where OperationName == 'Microsoft.TimeSeriesInsights/environments/eventsources/ingress/connect'
| project TimeGenerated, ResultDescription, Message, tostring(EventSourceProperties)
| top 100 by TimeGenerated desc

10 log in ingresso più recenti

Mostra i dieci log degli errori più recenti nella categoria Ingress. Questo è utile quando si ha familiarità con lo schema TSIIngress.

//Retrieves the most recent ten error logs in the Ingress category. This is helpful when getting familiar with the TSIIngress schema.
TSIIngress
| top 10 by TimeGenerated

Mostra errori di deserializzazione

Recupera i log degli errori più recenti da 100 errori per deserializzare i messaggi di telemetria e li riepiloga per visualizzare l'ora in cui il log è stato generato (TimeGenerated), una descrizione generale (ResultDescription) e un messaggio con l'errore di deserializzazione (messaggio).

//Retrieves the most recent 100 error logs from failures to deserialize telemetry message(s) and summarizes them to display the time when the log was generated (TimeGenerated), a high level description (ResultDescription), and a message with the deserialization error (Message).
TSIIngress
| where OperationName == 'Microsoft.TimeSeriesInsights/environments/eventsources/ingress/deserialize'
| project TimeGenerated, ResultDescription, Message, tostring(EventSourceProperties)
| top 100 by TimeGenerated desc