Troubleshooting missing metrics logs in Azure Log Analytics workspace

SwathiDhanwada-MSFT 18,776 Reputation points
2024-08-01T07:03:24.0033333+00:00

I cannot find the metrics logs in my Log Analytics workspace despite configuring the diagnostic settings to store all logs. Where should I look to find these logs?

PS - Based on common issues that we have seen from customers and other sources, we are posting these questions to help the Azure community.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,331 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SwathiDhanwada-MSFT 18,776 Reputation points
    2024-08-01T07:03:49.6033333+00:00

    When the diagnostic settings of your Log Analytics workspace are configured to store all logs, the metrics logs are stored in the AzureDiagnostics table. You should query this table in your destination workspace to view the logs. However, please note that not all metrics are supported for export through Diagnostic Setting.To get around these limitations for specific metrics, you can manually extract them by using the Metrics REST API. Then you can import them into Azure Monitor Logs by using the Azure Monitor Data Collector API. For a detailed list of supported metrics, refer to the Microsoft documentation.

    To resolve your issue, follow these steps:

    1. Ensure that the Diagnostic Setting is correctly configured with all categories selected.
    2. Verify that the destination workspace hasn't reached its daily data cap, which could prevent new logs from being stored.

    For more comprehensive guidance, please check the documentation:

    Supported Metrics - Microsoft.OperationalInsights/workspaces | Microsoft Learn

    Please do not forget to "up-vote" wherever the information provided helps you, as this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.