Share via

Issues retrieving Event Logs using Azure Log Analytics

Treharne, Tim 1 Reputation point
2021-11-03T10:02:16.353+00:00

We have created a Log Analytics workspace and followed the instruction detailed in the following article: https://learn.microsoft.com/en-us/azure/azure-monitor/agents/data-sources-windows-events

We now have a number of data sources connected (Virtual machines), and the agent is showing as successfully working on the VM itself. When looking at tables within the 'Logs' area of the workspace, I am expecting there to be a table called 'Event' under the 'LogManagement' heading. There is no table called 'Event' therefore I assume I am not collecting any System/Event Logs.

Has anybody experienced this issue before ?

Azure Monitor
Azure Monitor

An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.


2 answers

Sort by: Most helpful
  1. Treharne, Tim 1 Reputation point
    2021-11-03T15:22:54.097+00:00

    Stan,
    Thanks for getting back to me - I may have an idea why this isn't working.

    We have a local domain controller and I believe that the client machine cannot resolve the address for the Log analytics service. We created a standalone machine (not connected to domain) and events were recorded without issue. I think that in order to fix this issue we need to create a Conditional forwarder to Azure within DNS and ensure that the traffic can pass through our NSG.

    If this resolves the issue I will update this for anyone with a similar issue in the future.

    Was this answer helpful?


  2. Stanislav Zhelyazkov 29,586 Reputation points MVP Volunteer Moderator
    2021-11-03T14:28:32.537+00:00

    Hi,
    Please execute some query like

    Event  
    

    to see if there is data. Could be that by the time you have checked that view the table was not available. Also keep in mind that events are send when they are generated, if no events are generated, they will also not be sent to Log Analytics and thus Event table not visible yet. Also make sure that you are scope to the Log Analytics workspace resource.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    Was this answer helpful?

    0 comments No comments

Your answer

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