有关在 Azure 门户中使用这些查询的信息,请参阅 Log Analytics 教程。 有关 REST API,请参阅 查询。
Azure Monitor管道错误
检索在Azure Monitor管道中的数据引入、转换和导出过程中指示错误的日志。
// This query helps list the most recent 10 logs for failures during Azure Monitor pipeline operations.
AzureMonitorPipelineLogErrors
//| where OperationName == "Ingestion" // Uncomment this line to see Ingestion errors
//| where OperationName == "Transform" // Uncomment this line to see Transform errors
//| where OperationName == "Export" // Uncomment this line to see Export errors
| sort by TimeGenerated desc
| limit 10