Поделиться через


Запросы к таблице TSIIngress

Отображение ошибок подключения к источнику событий

Извлекает последние 100 журналов, относящихся к сбоям подключения к источнику событий, и суммирует их для отображения времени создания журнала (TimeGenerated), высокоуровневого описания (ResultDescription), сообщения с подробными сведениями о том, что пошло не так и как это исправить (Сообщение), и текущей конфигурации источника события (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 последних журналов входящего трафика

Показывает последние десять журналов ошибок в категории "Входящий трафик". Это полезно при ознакомлении со схемой 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

Отображение ошибок десериализации

Извлекает последние 100 журналов ошибок из-за сбоев десериализации сообщений телеметрии и суммирует их для отображения времени создания журнала (TimeGenerated), высокоуровневого описания (ResultDescription) и сообщения с ошибкой десериализации (Message).

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