summary Get Azure Monitor QoS log (Mdsd) for Linux
You should create custom tables to Log Analytics before creates DCR.
Here is a powershell scripts to create custom logs.
After doing powershell script, you can see custom tables in Log Analytics workspace.
Deploy to Azure!
Configure parameters for your environment.
Parameter | Sample |
---|---|
Region | Your region <e.g. Japan East> |
Data Collection Rule Name | <your dcr name> |
Data Collection Endpoint Resource Id | /subscriptions/<your subscription id>/resourceGroups/<your rg>/providers/Microsoft.Insights/dataCollectionEndpoints/<your dcename> |
File Pattern | /var/opt/microsoft/azuremonitoragent/log/mdsd.qos |
Table Name | AmaMdsdQos_CL |
Workspace Name | <Your Log Analytics Workspace Name> |
Workspace Resource Id | /subscriptions<your subscription id>/resourcegroups/<your rg>/providers/microsoft.operationalinsights/workspaces/<Your log analytics workspace name> |
Table format | ISO 8601 |
After creating DCR, you should assign DCR to Azure VM.
AmaMdsdQos_CL