Open In App

Microsoft Azure – Enabling Diagnostic for Log Analytics Resource

Pre-requisite:- Azure

Log Analytics Diagnostic settings are used to configure the streaming export of platform logs and metrics for a resource to the selected destination of your choice. Users can create up to five different diagnostic settings on the same resource to send different logs and metrics to select destinations like Log Analytics Workspace, Storage Account, Event Hub, or any third-party solution. Here in this article, we are going to show you the process of enabling diagnostic logs and metrics for Log Analytics Workspace.



Implementation

Step 1: Log in to Azure Portal.

Step 2: Go to Log Analytics Workspace and select your preferred workspace in which you wish to enable the diagnostic logs.



Step 3: Then from the menu scroll to the bottom and search for Monitoring >> Diagnostic Settings.

 

Step 4: Now, Click on ‘+ Add Diagnostic setting’ to configure the collection of the following data of Logs and metrics.

 

Step 5: Here in diagnostic setting specifies a list of categories that you want to configure:

 

Step 6: Next select the destination to store the logs.

 

Step 7: Final step click on Save to make the changes. 

 

You have configured it successfully.

Article Tags :