Queries for the WorkloadDiagnosticLogs table
For information on using these queries in the Azure portal, see Log Analytics tutorial. For the REST API, see Query.
Workload Monitoring Insights data collection warnings or errors
Warning or error logs from data collection services of Workload Monitoring of Azure Monitor Insights.
WorkloadDiagnosticLogs
| where Status in ("Warning", "Error")
| sort by TimeGenerated desc
| take 100