CmdID

CmdID / az / az monitor / az monitor data-collection / az monitor data-collection rule / az monitor data-collection rule log-analytics

az monitor data-collection rule log-analytics add

Add Log Analytics destinations of a data collection rule. Azure CLI extensions reference

3 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

3 in the Azure CLI extensions reference
--data-collection-rule-name, --rule-nameThe name of the data collection rule.
--name, -nA friendly name for the destination.
--workspace-resource-id, --resource-idThe resource ID of the Log Analytics workspace.