Share via


Consultas para a tabela TSIIngress

Mostrar erros de ligação de origem de eventos

Obtém os 100 registos mais recentes relativos a falhas de ligação de origem de eventos e resume-os para apresentar a hora em que o registo foi gerado (TimeGenerated), uma descrição de alto nível (ResultDescription), uma mensagem a continar detalhes sobre o que correu mal e como corrigi-lo (Mensagem) e a configuração atual da origem do evento (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 registos de Entrada mais recentes

Mostra os dez registos de erros mais recentes na categoria Entrada. Isto é útil ao familiarizar-se com o esquema 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

Mostrar erros de desserialização

Obtém os 100 registos de erros mais recentes de falhas para anular a serialização das mensagens de telemetria e resume-os para apresentar a hora em que o registo foi gerado (TimeGenerated), uma descrição de alto nível (ResultDescription) e uma mensagem com o erro de desserialização (Mensagem).

//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