CmdID

CmdID / az / az monitor / az monitor log-profiles

az monitor log-profiles create

Create a log profile in Azure Monitoring REST API. Azure CLI reference

8 options Its page in the Azure CLI reference

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

Options

8 in the Azure CLI reference
--categoriesSpace-separated categories of the logs.
--daysthe number of days for the retention in days.
--enabledWhether the retention policy is enabled.
--locationsSpace-separated list of regions for which Activity Log events should be stored.
--name, -nThe name of the log profile.
--service-bus-rule-idThe service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log.
--storage-account-idthe resource id of the storage account to which you would like to send the Activity Log.
--tagsSpace-separated tags: key[=value] [key[=value] ...].