Share via


TSIIngress tablosu için sorgular

Olay kaynağı bağlantı hatalarını göster

Olay kaynağı bağlantı hatalarıyla ilgili en son 100 günlüğü alır ve günlüğün oluşturulduğu zamanı (TimeGenerated), üst düzey bir açıklamayı (ResultDescription), neyin yanlış gittiğini ve nasıl düzeltileceğini açıklayan bir ileti (İleti) ve olay kaynağınızın geçerli yapılandırmasını (EventSourceProperties) görüntülemek için bunları özetler.

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

En son 10 Giriş günlüğü

Giriş kategorisindeki en son on hata günlüğünü gösterir. Bu, TSIIngress şemasını tanımaya yardımcı olur.

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

Seri durumdan çıkarma hatalarını göster

Telemetri iletilerini seri durumdan çıkarma hatalarından en son 100 hata günlüğünü alır ve bunları özetleyerek günlüğün oluşturulduğu zamanı (TimeGenerated), üst düzey bir açıklamayı (ResultDescription) ve seri durumdan çıkarma hatası (İleti) içeren bir iletiyi görüntüler.

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