SOLVED

Failed to resolve entity 'AzureDiagnostics'

Copper Contributor

When I run query 

AzureDiagnostics| where ResourceProvider == "MICROSOFT.AUTOMATION"
 
It shows "Failed to resolve entity 'AzureDiagnostics'"

Please help me!
Thanks in advance.
1 Reply
best response confirmed by Stanislav Zhelyazkov (MVP)
Solution

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.

1 best response

Accepted Solutions
best response confirmed by Stanislav Zhelyazkov (MVP)
Solution

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.

View solution in original post