CmdID

CmdID / az / az vm / az vm monitor / az vm monitor log

az vm monitor log show

Execute a query against the Log Analytics workspace linked with a VM. Azure CLI reference

2 options Its page in the Azure CLI reference

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

Options

2 in the Azure CLI reference
--analytics-query, -qQuery to execute over Log Analytics data.
--timespanTimespan over which to query.