Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Azure by (4k points)

Will I have to use diagnostics to enable that log data to transfer into storage to access or is there a direct way to access the logs using API?

1 Answer

0 votes
by (9.6k points)

There are two methods through which you can access Azure VM Event Logs.

  1. The best method is to use Azure Diagnostics and Azure Cmdlets. Once you have access to Event logs, you can even download it and save it to your local machines. 
  2. The second method is to use the ASP page. You can use Event log API to access the event logs and change it the way you prefer to see them. 

Any other method to access these logs will be complex and cumbersome.

To learn more about Azure, check this Microsoft Azure training out! 

Browse Categories

...