All logs are not showing in the Log Analytics Workspace - Azure Data Explorer

Souvik Saha Choudhary 21 Reputation points
2025-03-13T09:07:49.05+00:00

I created a Log Analytics Workspace connection in Azure Data Explorer.
I tried to query AzureDiagnostics logs for one month.
But it was not showing all the expected logs.

How can I get all logs?

Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
561 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Venkat Reddy Navari 1,585 Reputation points Microsoft External Staff
    2025-03-13T14:29:58.1633333+00:00

    Hi @Souvik Saha Choudhary
    To address missing logs in your Azure Log Analytics Workspace linked to Azure Data Explorer, the following resources will be useful:

    1. Check Diagnostic Settings: Ensure that the diagnostic settings for your Azure resources are configured correctly to send logs to the right Log Analytics Workspace. Verify that the necessary log categories are selected for collection.
    2. Verify Workspace Setup: Double-check that your Log Analytics Workspace is set up in the correct subscription and region. Any issues here might prevent logs from being ingested.
    3. Check Log Types and Retention: Confirm that the correct types of logs are being sent to your Log Analytics Workspace. Also, ensure that the retention settings are properly configured so that logs are not prematurely deleted before you can query them.
    4. Be Aware of Column Limits: The AzureDiagnostics table has a limit of 500 columns. If this limit is exceeded, some logs might not be captured. Review your columns to ensure you are not hitting this limit.
    5. Use KQL to Search Logs: Utilize Kusto Query Language (KQL) to effectively query logs. For example, you can use the query AzureDiagnostics | where TimeGenerated > ago(30d) to find logs from the last month. To explore all available tables, use union * | summarize count() by $table.
    6. Check Permissions: Make sure you have the necessary permissions to view all logs. This is especially important if your resources and workspace are in different subscriptions.
    7. Monitor Ingestion Delays: Check the Usage tab in Log Analytics Workspace Insights to monitor data ingestion and identify any delays. Delays in log ingestion can affect the availability of logs.

    For more information refer to Microsoft's documentation:

    I hope this helps. Please let us know if you have any further questions.

    Kindly consider upvoting the comment if the information provided is helpful. This can assist other community members in resolving similar issues.

    1 person found this answer helpful.
    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.