Forum Discussion
The Nguyen
May 04, 2018Copper Contributor
Failed to resolve entity 'AzureDiagnostics'
When I run query
AzureDiagnostics| where ResourceProvider == "MICROSOFT.AUTOMATION"
It shows "Failed to resolve entity 'AzureDiagnostics'"
Please help me!
Please help me!
Thanks in advance.
Hi,
Before actually AzureDiagnostics table to appear in Log Analytics you need to forward such logs from one of the Azure Services that have such. Just for reference here is all the services that support such logs:
https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-diagnostic-logs-schema
For some services you can forward the logs via Azure Portal for others you will have to use PowerShell, CLI or ARM. Specifically for Azure Automation see here how these are forwarded to Log Analytics:
https://docs.microsoft.com/en-us/azure/automation/automation-manage-send-joblogs-log-analytics
After configuring that setting and you have a new job started/running you will start to see the logs in Log Analytics.
Hi,
Before actually AzureDiagnostics table to appear in Log Analytics you need to forward such logs from one of the Azure Services that have such. Just for reference here is all the services that support such logs:
https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-diagnostic-logs-schema
For some services you can forward the logs via Azure Portal for others you will have to use PowerShell, CLI or ARM. Specifically for Azure Automation see here how these are forwarded to Log Analytics:
https://docs.microsoft.com/en-us/azure/automation/automation-manage-send-joblogs-log-analytics
After configuring that setting and you have a new job started/running you will start to see the logs in Log Analytics.