Hello @Anveshreddy Nimmala
To troubleshoot the issue of missing metrics logs in your Azure Log Analytics workspace, follow these steps:
Step 1: Verify Diagnostic Settings Configuration
- Ensure that the diagnostic settings are correctly configured to send the desired logs to your Log Analytics workspace.
- Navigate to the Azure portal, go to the resource for which you want to collect logs, and check the diagnostic settings.
- Confirm that the correct categories (e.g., Metrics, Activity Logs) are selected and that the destination is set to your Log Analytics workspace.
Step 2: Check Log Analytics Workspace Configuration
- Verify that the Log Analytics workspace is properly set up and connected to the resource.
- Ensure that the workspace is not experiencing any connectivity issues or restrictions that might prevent logs from being ingested.
Step 3: Review Access and Permissions
- Check that you have the necessary permissions to view the logs in the Log Analytics workspace.
- Ensure that the resource sending logs and the Log Analytics workspace are within the same Azure subscription or have appropriate cross-subscription permissions.
Step 4: Use Azure Monitor Logs
- Use Azure Monitor Logs to query and search for the logs.
- Go to the Azure portal, navigate to your Log Analytics workspace, and use the "Logs" section to run queries.
- Use a query like
AzureDiagnostics | where Category == "Metrics"
to search for metrics logs.
Step 5: Check for Delays or Data Retention Issues
- Be aware that there might be a delay in log ingestion. Wait for some time and check again.
- Verify the data retention settings in your Log Analytics workspace to ensure logs are not being deleted prematurely.
If this answers your query, do click Accept Answer
and Up-Vote for the same. And, if you have any further query do let us know.