Bagikan melalui


Kueri untuk tabel TSIIngress

Untuk informasi tentang menggunakan kueri ini di portal Azure, lihat tutorial Analitik Log. Untuk REST API, lihat Kueri.

Perlihatkan kesalahan koneksi sumber kejadian

Mengambil 100 log terbaru yang berkaitan dengan kegagalan koneksi sumber peristiwa dan meringkasnya untuk menampilkan waktu ketika log dibuat (TimeGenerated), deskripsi tingkat tinggi (ResultDescription), detail kontinaasi pesan tentang apa yang salah dan cara memperbaikinya (Pesan), dan konfigurasi sumber peristiwa Anda saat ini (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 Ingress terbaru

Memperlihatkan sepuluh log kesalahan terbaru dalam kategori Ingress. Ini sangat membantu ketika terbiasa dengan skema 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

Perlihatkan kesalahan deserialisasi

Mengambil 100 log kesalahan terbaru dari kegagalan untuk mendeserialisasi pesan telemetri dan meringkasnya untuk menampilkan waktu ketika log dihasilkan (TimeGenerated), deskripsi tingkat tinggi (ResultDescription), dan pesan dengan kesalahan deserialisasi (Pesan).

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