@AzureisMyCareer-5423 The Azure Diagnostics VM extension enables you to collect monitoring data, such as performance counters and event logs, from your Windows VM. You can granularly specify what data you want to collect and where you want the data to go, such as an Azure Storage account or an Azure Event Hub. You can also use this data to build charts in the Azure portal or create metric alerts.
You can refer to this article for more information on installation part.
As mentioned in this article
For a Virtual Machine: C:\WindowsAzure\Logs\Plugins\Microsoft.Azure.Diagnostics.IaaSDiagnostics\<WADVersion>\WAD<WADVersion>
Required attributes are:
- path - The directory on the system to be used by Azure Diagnostics.
- expandEnvironment - Controls whether environment variables are expanded in the path name.
In order to remove the required extesnsion you can make use of below command as well:
Remove-AzureRmVMDiagnosticsExtension -ResourceGroupName "ResourceGroup11" -VMName "ContosoVM22" | Update-AzureRmVM
You can refer to this article for more information.
Hope it helps!!!
Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics