CmdID / az / az network / az network watcher
az network watcher flow-log
Manage network security group flow logging. Azure CLI reference
6 commands 9 options Its page in the Azure CLI reference
Commands
createCreate a flow log on a network security group.deleteDelete the specified flow log resource.listList all flow log resources for the specified Network Watcher.showGet the flow log configuration of a network security group.updateUpdate the flow log configuration of a network security group.waitPlace the CLI in a waiting state until a condition is met.Options
--enabledEnable logging--intervalInterval in minutes at which to conduct flow analytics.--location, -lLocation to identify the exclusive Network Watcher under a region.--name, -nThe name of the flow logger--nsgName or ID of the network security group.--retentionNumber of days to retain logs--storage-accountName or ID of the storage account in which to save the flow logs.--traffic-analyticsEnable traffic analytics.--workspaceName or ID of a Log Analytics workspace.