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:
- Ensure that the Diagnostic Setting is correctly configured with all categories selected.
- 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.