How to get the VM Diagnostic settings logs in Log analytic ???

abhi 60 Reputation points
2023-09-15T05:49:23.29+00:00

Hi Experts

We have configured the diagnostic settings for the VM in azure, and we have enable the guest monitoring option and stored the logs in the Container

Can we Streams this logs in the log analytic workspace as we are not getting the options to send this logs

Thanks in advance

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,658 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AnuragSingh-MSFT 21,551 Reputation points Moderator
    2023-09-18T09:03:36.12+00:00

    abhi, thank you for posting this question on Microsoft Q&A.

    After enabling the "Diagnostic Setting", you can use the "Sink" option to set the target as "Application Insights". When creating this AppInsights, you can set your specific LA Workspcae as the backend workspace for insights so that the data gets to the correct workspace. For more details, see Install and configure the Azure Diagnostics extension for Windows (WAD)

    However, for monitoring Azure VMs, generally the "Azure Monitor Agent" is the preferred agent for collection of logs and performance data and storing them to LA workspace. You can either configure these data collection through "Data Collection Rule", which requires manual rule creation OR you can use "Azure VM Insights" which also uses the agent but provides a quick and easy method for getting started monitoring the client workloads on your virtual machines and virtual machine scale sets.

    Hope this helps.

    If the answer did not help, please add more context/follow-up question for it, and we will help you out. Else, if the answer helped, please click Accept answer so that it can help others in the community looking for help on similar topics.

    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.